Sr. No List of Practicals 1. 2. 3. 4. 5. 6
Sr. No List of Practicals 1. 2. 3. 4. 5. 6
Sr. No List of Practicals 1. 2. 3. 4. 5. 6
No List of Practicals
1. Write a simple Python Program to INPUT two variables and print
Addition, Subtraction, Multiplication and Division of both
numbers.
2. Write a program to input 2 number and an arithmetic operator.
Display the result accordingly.
3. Write a program to input Principal Amount, Rate and Year and
display Simple Interest.
4. Write a program to input Principal Amount, Rate and Year and
display Compound Interest
5. Write a program to input radius of a circle, and print area of
that circle.
6. Write a program to input a number and print whether it is Even
or Odd Number.
The moment you start the program, it shall first display list of
persons who have got birthday today.
38 Create a class of Library with following attributes
(title, author, publisher, edition, year of publication, price, type
(reference or text book)
Class shall have following methods
addBook(), modifyBook(), deleteBook(), searcBook(),
listBooks(), sortedView()
Prepare menu drive program with the data stored in file. Main
menu shall have above choices and sorted view shall have
further choice of sorting as title, author, publisher, year of
publication and price which shall display the data accordingly)
(Use list to store the data as follows
[[Core Python Programming|WesleyChun|Premier Press|2|
2005|550|Text],
[Pythong Programming for Beginners|Michael|Premier Press|2|
2015|660|Reference],
[Head First Python|PaulBerry|O Reilly |4|2014|550|
Reference]]