Python Tutorial

Part 7/3: Solutions of second mini python project (functional programming)

In this video, we will answer and elaborate on the second part of the second Python mini project about Functional programming, Tuples, Dictionaries, Sets, Lists, for loops, conditional statements, data structure manipulation, lambda, filter, and map
You will find the complete explanation regarding the question in the following link:
• Part 6: Function in Python

The link to answer of first 4 questions.
• Part 7/1: Solutions of second mini p...

the link to answer the second part of the question
• Part 7/2: Solutions of second mini p...

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.

#python_function_mini_project #python_for_pyqgis