PYTHON April 2024
PYTHON April 2024
Fifth Semester
Information Technology
Or
(b) Define variable. List out the rules for
naming the variable.
Or
(b) Write a python program to check whether a
given year is leap year or not.
Or
(b) State the difference between the lists and
dictionary.
Or
(b) Write a short note on encapsulation in
python.
Or
PART C — (5 × 8 = 40 marks)
Or
Or
Or
(b) Illustrate the date and time function with an
example.
Or
(b) Elaborate note on inheritance with example.
Or
(b) Write a python program to perform selection
sort on the elements read from the user.
———————