Python Project
Python Project
Ans1. INPUT
OUTPUT
Q2. WAP which accepts the number from user and Print frequency of number in a
given list of number. If number is not in it should print number not found.
Ans5. INPUT
OUTPUT
OUTPUT
Q4. WAP in Python to enter Radius of circle. Find and display area and
circumference.
Ans7. INPUT
OUTPUT
OUTPUT
Q6. WAP to enter 3 coefficients of Quadratic Equation. Find & display whether the
roots are real or imaginary.
Ans9. INPUT
OUTPUT
OUTPUT
Q8. WAP in Python to enter on item code (A= Apparel & F= Footwear) price of item.
Display item price, Item code, GST & Total Amount as per follows.
Item GST
Code/Name/Price
Apparel (A) <= 5%
500
Apparel (A) > 500 12%
Footwear (F) <= 5%
1000
Footwear (F) > 18%
1000
Ans11. INPUT
OUTPUT
Q9. WAP to enter year and display whether it’s a leap year or not.
Ans13. INPUT
OUTPUT
Q10. WAP to enter an integer value & find out its Factorial.
Ans14. INPUT
OUTPUT
Q11. WAP to Enter integer value & Find out whether it is Prime number or not.
Ans15. INPUT
OUTPUT
Q13. WAP to Enter any three integers and Find the Smallest number.
Ans18. INPUT
OUTPUT
Q14. WAP to Read Name and Marks of a Student and Display the total mark.
Ans19.INPUT
OUTPUT
OUTPUT
OUTPUT
Q18. WAP to Enter any Integer value by user and find out Sum of its Digits.
Ans25. INPUT
OUTPUT