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

Assignment 3

The document is an assignment for the Sanjivani Rural Education Society's Polytechnic for the academic year 2023-2024. It includes a list of 18 questions related to Python programming, covering topics such as built-in functions, data structures like lists, tuples, sets, and dictionaries, as well as operations and methods associated with these data types. The assignment is due on February 15, 2024, and is overseen by Prof. S.B. Jadhav.

Uploaded by

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

Assignment 3

The document is an assignment for the Sanjivani Rural Education Society's Polytechnic for the academic year 2023-2024. It includes a list of 18 questions related to Python programming, covering topics such as built-in functions, data structures like lists, tuples, sets, and dictionaries, as well as operations and methods associated with these data types. The assignment is due on February 15, 2024, and is overseen by Prof. S.B. Jadhav.

Uploaded by

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

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.

You might also like