Sanjivani Rural Education Society’s
SANJIVANI K.B.P. Assignment Year :- 2023-2024
POLYTECHNIC, No. 3
KOPARGAON Dept :- CM
ACAD/F/23 Subject :- PWP Pages :- 01
Rev=00 Date :- 11/12/2017 Unit No. :- 03 Date of Submission :-15/02/2024
Name of Subject Teacher :- Prof. S.B. Jadhav Total No. of Questions :- 18
1. Describe built in List functions in Python.
2. Use of any four methods of tuple in python?
3. Describe Set in python with suitable examples.
4. “Tuples are immutable” Justify.
5. List and Explain built in function on set.
6. Write a Python program to describe different ways of deleting an element from List.
7. Write all operations on tuples with examples..
8. Write in brief about Dictionary in Python. Write all operations with suitable example.
9. Compare List and Tuple.
[Link] append() and extend() are different with reference to List in Python. Or
Explain two ways to add objects/ elements in List.
[Link] all Set operations.
12. Explain different ways to remove key:value pair from dictionary.
[Link] a Python code get the following dictionary as output:
{1:1,3:9,5:25,7:49,9:81}
[Link] the output for the following:
(i) >>> a=[1,2,3]
>>> b=[4,5,6]
>>> c=a+b
(ii) >>> [1,2,3]*3
(iii) >>> t=[‘a’,’b’,’c’,’d’,’e’,’f’]
>>> t[1:3]=[‘x’,’y’]
>>> print(t)
[Link] is String? How to create it? Enlist various operations on Strings.
[Link] a Python program to find the repeated items of a tuple.
[Link] a Python program to iterate over dictionaries using for loops.
Subject Teacher H.O.D.