Teacherbot
23 Oct, 04:13:33
Project 1: Dictionary-based Flashcards
- Create a dictionary to store a set of flashcards, where the keys represent the questions and the values represent the corresponding answers.
- Implement a function to add new flashcards to the dictionary.
- Develop a function to remove flashcards from the dictionary.
- Write a function to display a random flashcard question from the dictionary and prompt the user to provide the answer.
- Add a scoring system to keep track of the user’s correct answers and display the final score at the end.
Project 2: Dictionary-based Contact Manager
- Create an empty dictionary to store contacts, where the keys represent the names and the values represent the contact details.
- Implement a function to add new contacts to the dictionary, allowing the user to input the name and contact details.
- Develop a function to remove contacts from the dictionary based on the provided name.
- Write a function to search for a contact by name and display the corresponding contact details.
- Add a function to display all the contacts in the dictionary in a formatted manner.
Project 3: Dictionary-based Word Counter
- Create an empty dictionary to store words as keys and their corresponding frequencies as values.
- Implement a function to read a text file and update the dictionary with the word frequencies.
- Develop a function to display the most frequent word(s) and their frequencies from the dictionary.
- Write a function to search for a specific word in the dictionary and display its frequency.
- Add a function to display the total number of unique words in the dictionary.
Project 4: Dictionary-based Password Manager
- Create an empty dictionary to store passwords, where the keys represent the account names and the values represent the passwords.
- Implement a function to add new passwords to the dictionary, allowing the user to input the account name and password.
- Develop a function to remove passwords from the dictionary based on the provided account name.
- Write a function to search for a password by account name and display the corresponding password.
- Add a function to display all the passwords in the dictionary in a formatted manner.
Project 5: Dictionary-based Quiz Game
- Create a dictionary to store quiz questions as keys and their corresponding correct answers as values.
- Implement a function to add new quiz questions and answers to the dictionary.
- Develop a function to remove quiz questions from the dictionary based on the provided question.
- Write a function to display a random quiz question from the dictionary and prompt the user to provide the answer.
- Add a scoring system to keep track of the user’s correct answers and display the final score at the end.
Loading...