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

Assignment III Python

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)
7 views1 page

Assignment III Python

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
You are on page 1/ 1

SHRI RAM GROUP OF COLLEGES

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING


B.TECH- IVSEM.
SUBJECT: PYTHON
ASSIGNMENT-III
UNIT-III

DATE-
Q.1 How to define and call function in Python ? Explain different parts of a function.

Q.2 Define tuples. How are tuples created in Python ?.

(b) Explain the basic operation of tuples with example.

Q.3 What do you mean by sets? Explain the operations performed on sets.

b. Write various built-in list methods? What are mutable sequences? Discuss with example.

Q.4 Explain Lambda expression.

b. Explain higher order function with respect to lambda expression. Write a Python code to
count occurrences of an element in a list

Q.5 Discuss function in Python with its parts and scope. Explain with example. (Take simple
calculator with add, subtract, division and multiplication).

Q6. How do we create a dictionary in Python ? Explain the operations performed on dictionary
with example.

*LAST DATE OF SUBMISSION-


TIME- 2:00 P:M

Himani
CSE

You might also like