Class XI CS Python List of Practicals
Class XI CS Python List of Practicals
Class XI
Computer Science
Programming Language: Python
1. Write a program to print “Hello World” Message.
2. Write a program to get the sum of two nos.
3. Write a program to get the sum of two inputted nos.
4. Write a program to find maximum between two nos.
5. Write a program to check whether person is eligible to vote
or not.
6. Write a program to check whether inputted no. is positive,
negative and neutral value.
7. Write a program to find area of a rectangle.
8. Write a program to calculate simple interest.
9. Write a program to print day name corresponding to the
inputted day no. Display appropriate error message too.
10. Write a program to find the sum of nos. from 1 to 10.
11. Write a program to print all even and odd nos. between 1
to 100.
12. Write a program to generate table of an inputted no.
13. Write a program to find lowest and second lowest nos.
among N inputted nos.
14. Write a program to generate febonacci series’ first 20
elements.
15. Write a program to read an integer>1000 and reverse the
number.
16. Write a program to check whether inputted number is
Armstrong or not.
17. Write a program to calculate the BMI of a person after
inputting its weigh in kgs and height in meters and then
print the Nutritional Status as per the following table:
Nutritional Status WHO Criteria BMI Cutoff
Underweight <18.5
Normal 18.5-24.9
Overweight 25-29.9
Obese >30