Skip to content
 
 

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

LAB_FILES_IO

Using what you learned about Python File I/O , we want to make a progeram called To-Do List , this program should do the following:

  • Ask the user do you want to add a new To-Do item? answer by "y" for yes and "n" for no.
  • If the user answers yes , then ask the user to type in his new To-Do item . Then save that To-Do item inside the a file to_do.txt on a new line.
  • If the user answers no, then ask the user : do you want to list your To-Do items ? answer "y" for yes and "n" for no.
  • If the user answers yes for reading his To-Do list , then print a list of the To-Do items one item per line.
  • Then return again to ther first question and ask again, you coninue this untill the user types in "exit" , then you exit the program. and print to the user "thank you for using the To-Do program, come back again soon"

Bonus

Using the code from your lab LAB_MODULES_PACKAGES bonus (the library) do the following :

  • Display a menu to manage the books.
  • User can add a book.
  • User can display all books (with the status available, not available (borrowed).
  • User can search for books.
  • User can delete a book.
  • User can borrow (check out book).
  • User can return book.

Note: all the books should be saved when added, updated, etc. (hint: use the json module)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages