Final Project
Congrats! you have almost finished the Python Basics course! The only thing left is to try out one of the following activities to ensure your understanding:
- Contact Management System: Create a simple contact management system where users can add, view, and delete contacts.
- Use what you have learned about input and output to get the information from the user and print information when needed.
- Create functions add_contact(), view_contacts() and delete_contact(). The add and delete functions should have 1 String parameter which is the name of the contact. view_contacts() should let the user see all the contacts in the system.
- Use lists to store all the different contacts.
- Use loops to iterate through the list.
- Library Book Management System: Develop a system for managing library books, including adding new books, displaying available books, and borrowing and returning books.
- Use what you have learned about input and output to get the information from the user and print information when needed.
- Create functions add_book(), return_book() and borrow_book(). Each function should have 1 String parameter which is the name of the book.
- Create the functions view_lib_books(), which displays all the books in the library, and view_borrowed_books() which displays all the borrowed books. Both functions should have no parameters
- Use 2 different lists to store the data for the system. The first list should store all the books in the library. The second list should show all the books that have been borrowed.
- Use loops to iterate through the lists.
- Todo List Application: Create a command-line todo list application where users can add tasks, view tasks, mark tasks as completed, and delete tasks.
- Use what you have learned about input and output to get the information from the user and print information when needed.
- Create functions add_task(), complete_task() and delete_task(). Each function should have 1 String parameter which is the name of the task.
- Create the function view_task(), which displays all the tasks in the system. The function should have no parameters
- Use different lists to store the tasks for the system. The first list should store all the incomplete tasks. The second list should store all the completed tasks that have been borrowed.
- Use loops to iterate through the lists.
- Rock, Paper, Scissors Game: Implement a Rock, Paper, Scissors game where the user plays against the computer.
- Use what you have learned about input and output to get the information from the user and print information when needed.
- Create a fucntion called choice(), which returns a random choice between rock, paper and scissors.
- You can utilise the random() function in the maths library combined with a conditional statement in order to generate the random choice. You could also do some research to find a funciton that will allow for a better designed solution.
- Use the print() function and a conditional statement to output who won (the program or the user).
Certificate of Completion
Send a recording/image of your working code (of your project) to codewithoutwords@gmail.com in order to recieve your certificate of completion for the Python Basics course!