0% found this document useful (0 votes)
11 views1 page

Programming Assignment: Lists in Python

The assignment consists of five tasks focused on lists in programming, totaling 25 marks. Tasks include creating and manipulating lists, performing search and count operations, computing statistics from student marks, and handling nested lists. Students are required to submit their work as a .py or notebook file.

Uploaded by

madnipro4
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views1 page

Programming Assignment: Lists in Python

The assignment consists of five tasks focused on lists in programming, totaling 25 marks. Tasks include creating and manipulating lists, performing search and count operations, computing statistics from student marks, and handling nested lists. Students are required to submit their work as a .py or notebook file.

Uploaded by

madnipro4
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Programming Fundamentals – Assignment (Lists

Focused)

Total Marks: 25

Task 1 — List Creation & Basic Operations (5 marks)


• Create a list of 7 integers entered by the user.
• Print first, last, and middle elements.
• Print the list in reverse order (without using reverse()).

Task 2 — List Methods Practice (5 marks)


Use list: ['apple', 'banana', 'mango']
Perform operations: append, insert, extend, remove, pop.

Task 3 — Searching & Counting (5 marks)


Take a list of integers, search for a number, print existence, count, and first index.

Task 4 — List Computation (5 marks)


Store marks of N students and display highest, lowest, average, and count of above-average students.

Task 5 — Nested List (5 marks)


Store 3 students as [name, age, marks], print table, top student, and class average.

Submission: Submit .py or notebook file.

You might also like