Assignment IV Python
Assignment IV Python
DATE-
Q.1 what do you mean by exceptions? Explain exceptions handling with syntax.
(b) Discuss ADT in Python. How to define ADT? Write code for a student information
Q.4 Discuss File I/O in Python. How to perform open, read, write, and close into a file? Write a
Python program to read a file line-by-line store it into a variable.
Q.5 Discuss exceptions and assertions in Python. How to handle exceptions with try-finally?
Explain five built-in exceptions with example.
Himani
CSE