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

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

GISWorld

11 месяцев назад

197 Просмотров

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:
https://www.youtube.com/watch?v=LP_MKUvMQmM

The link to answer of first 4 questions.
https://www.youtube.com/watch?v=mYFF70CIjI8

the link to answer the second part of the question
https://www.youtube.com/watch?v=jQmENpWbFxQ

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.

#opensource #python

Тэги:

#functions_in_Python #Python_assignment_tutorial #functional_programming_concepts #Python_coding_exercise #functional_programming_fundamentals #Python_programming_challenge #functional_programming_techniques #functional_programming_in_practice #functional_programming_tips_and_tricks #functional_programming_with_Python #Python_coding_project #functional_programming_best_practices #functional_programming_demonstration #args #kwargs #multifunctional #gisworld
Ссылки и html тэги не поддерживаются


Комментарии: