You are on page 1of 2

DELHI PUBLIC SCHOOL HARNI

Academic Session 2020-21

Assignment Questions
1. Write a Python program to greet the user. (Say Good Morning)
2. Write a Python program to enter two number and perform the following task
Addition
Subtraction
Multiplication
Division
3. Write a Python program to enter age at runtime and check for eligibility to Vote or not.
4. Write a Python program to accept marks of 5 subject and calculate total, percentage, grade
and
final result Pass or Fail (Report Card).
5. Write a Python program to accept principal amount, rate of interest, tenure(in years) and
calculate simple and compound interest.
6. Write a Python program to accept any number and print multiplication table.
7. Write a Python program to accept any number and print whether entered number is
Positive/Negative/Zero.
8. Write a Python program to check number is Odd or Even
9. Write a Python program to print Days of Week.
10. Write a Python program to check Armstrong number.
11. Write a Python program to check prime number.
12. Write a Python program to print sum of digit.
13. Write a Python program to print Reverse of digit.
14. Write a Python program to check palindrome number.
15. Write a Python program to print Fibonacci series.
16. Write a Python program to accept base and power value, calculate result as base Power.
17. WAP to print the following patterns .

55555
4444
333
22
1

*****
****
***
**
*

*
**
***
****
*****

12345
2345
345
45
5

You might also like