Skip to content

Commit 0f62166

Browse files
authored
Update main1.py
Signed-off-by: Bubbles The Dev <[email protected]>
1 parent 07a7b94 commit 0f62166

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Python-Fundamentals-part2/main1.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# EXAMPLES NOT FOR USE
2+
# --------------------
3+
14
# Create a class called ToDoList
25
# The class should have the following methods:
36
# add_task(task) - This method should add a task to the list of tasks.
@@ -35,4 +38,7 @@ def view_tasks(self):
3538
# The add_task() method appends a task to the tasks list.
3639
# The remove_task() method removes a task from the tasks list if it exists.
3740
# The view_tasks() method prints each task in the tasks list.
38-
# An instance of the ToDoList class is created with the variable my_list.
41+
# An instance of the ToDoList class is created with the variable my_list.
42+
43+
# EXAMPLES NOT FOR USE
44+
# --------------------

0 commit comments

Comments
 (0)