In this video, we will answer and elaborate on the first part of the second Python mini project about Functional programming, Tuples, Dictionaries, Sets, Lists, for loops, conditional statements, and data structure manipulation
You will find the complete explanation regarding the question in the following link:
• Part 6: Function in Python
here is the question that we want to solve together
The mini-project is about creating a to-do list. Here is the complete question.
Build a to-do list application using functional programming concepts and the knowledge gained from the previous 10 questions. The application should provide the following features:
1- Add a task to the to-do list.
2- Remove a task from the to-do list.
3- View all tasks in the to-do list.
4- Mark a task as completed.
5- Filter and display only the completed tasks.
6- Calculate and display the count of completed tasks.
7- Calculate and display the average length of task descriptions.
Utilize the functions from the previous 10 questions and adapt them to fit the requirements of the to-do list application. Implement the necessary functions using functional programming concepts such as mapping, filtering, and lambda functions.
Create a runner script that interacts with the application by presenting a menu-based interface to the user. The runner script should allow users to choose from different actions to perform on the to-do list.