Assignment-6
Submit before 10pm on 08-08-2026 All 3 marks questions from university question papers - Module -2.Read blog. 1 Compare tuples, lists, and dictionaries. 2. Explain the concept of scope and lifetime of variables in Python programming language, with a suitable example. 3.Write a python code to search a string in the given list. 4.Explain lambda functions in Python with an example 5.Let num=[14,[26,52],2,[8,3],56]. Write the expressions for following operations in Python: i) Replace the value 56 with 92 ii) Print the value 8. iii) Remove the value 52 from list 6.Write a Python script to print a dictionary where the keys are numbers between 1 and 15 (both included) and the values are square of keys. 7.Explain the scope and lifetime of variables in Python programming language with a suitable example each. 8.Compare Lists and Tuples with examples. Illustrate the use of __name__ variable. 9 Write a program to swap two numbers using tuple. Get the numbers from the user prompt....