filmov
tv
[Python Programming Basics to Advanced]: Lab 30: zip map filter and reduce functions

Показать описание
This Python programming playlist is designed to take beginners with zero programming experience to an expert level. The course covers installation, basic syntax, practical scenarios, and efficient logic building. The course material includes PDF handouts, review questions, and covers a wide range of topics, from data types to advanced functions like Lambda and Recursive functions, Generators, and JSON data parsing.
In this lesson we will study about four functions; zip, map, filter and reduce.
Link of Movies Task file:
Link of Student Data Task file:
The csv file used in Student Task:
Lab Manual 30 can be downloaded from here:
Review Question: 1
1- Given at 31:02
2- Consider one actor, e.g. Al Pacino, and display his longest movie in the collection.
3- Suppose that registration fee for any course is PKR 1000 per credit hour. Use the reduce function to calculate and display the total registration fee collected from 80 students.
Practice Tasks (need not to be answered here):
1- From the student dataset, create a list of students’ registration numbers who obtained at least two A/A+ grades from sec A (if you are from sec A) / from sec B (if you are from sec B).
2- Find the registration number of the student who got highest number of A/A+ provided he/she registered in 5 courses.
#PythonProgramming #python #pythontutorial
In this lesson we will study about four functions; zip, map, filter and reduce.
Link of Movies Task file:
Link of Student Data Task file:
The csv file used in Student Task:
Lab Manual 30 can be downloaded from here:
Review Question: 1
1- Given at 31:02
2- Consider one actor, e.g. Al Pacino, and display his longest movie in the collection.
3- Suppose that registration fee for any course is PKR 1000 per credit hour. Use the reduce function to calculate and display the total registration fee collected from 80 students.
Practice Tasks (need not to be answered here):
1- From the student dataset, create a list of students’ registration numbers who obtained at least two A/A+ grades from sec A (if you are from sec A) / from sec B (if you are from sec B).
2- Find the registration number of the student who got highest number of A/A+ provided he/she registered in 5 courses.
#PythonProgramming #python #pythontutorial
Комментарии