Ahmedabad Institute of Technology
CSE CS / EC Department
Python Programming
Year: 2025
Assignment- 1 [CO1,CO2]
Sr No. Questions Co’s
1 List the advantage and disadvantage of python. CO1
2 Demonstrate Membership operators and identity operators with CO1
suitable examples.
3 Write a python program to check if a string is palindrome or not. CO1
4 Explain while loop in python. How to create infinite while loop? CO2
How to break infinite while loop in certain condition? Explain
with example.
5 What is a function? Mention the type of function and use. CO2
6 Discuss global, local and nonlocal variable in detail. CO2
7 Explain working of break, continue and pass statement. CO2
8 Define Lambda function, Utilize lambda function in an CO2
example.
Note : Submit Assignment by 04/10/2025