


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Information about various python list operations as presented in a lab assignment submitted by waleed abdullah. The assignment includes tasks such as creating a list, finding the largest and smallest numbers, counting strings with same first and last characters, and generating a list of square numbers. Additionally, there is a task to write a program for maintaining a shopping list.
Typology: Cheat Sheet
1 / 4
This page cannot be seen from the preview
Don't miss anything!



Name:Waleed Abdullah(18257) Section:CB Subject: Data Structure Submitted To:Sir shazeb Date:21 sep 2021 Lab 1: Lists Task 1: Execute the following Python program to sum all the items in a list. def sum_list(items):
Task 2: Write a Python function for each of the following operations on list? (2+2+2+2+2)