Skip to content

cs-fullstack-2019-spring/python-review2-cw-marcus110379

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

python-review2-cw

Create a task list. A user is presented with the text below. Let them select an option to list all of their tasks, add a task to their list, delete a task, or quit the program. Make each option a different function in your program. Do NOT use Google. Do NOT use other students. Try to do this on your own.

Congratulations! You're running [YOUR NAME]'s Task List program.

What would you like to do next?
1. List all tasks.
2. Add a task to the list.
3. Delete a task.
0. To quit the program

Extra Credit. Save the user's list in a text file. When the program is run again, input that text file so their task list is not lost.

Use the links below to get started on file io:


Only use the information below if necessary

To list all items in an array:

for itemInArray in arrayOfTasks:

To add an item to an array

arrayOfTasks.append(newTask)

To check if an item is in an array

if deleteTask in arrayOfTasks:

To delete a task

arrayOfTasks.remove(deleteTask)

About

python-review2-cw-marcus110379 created by GitHub Classroom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published