0% found this document useful (0 votes)
27 views1 page

Python Programs For Practice-Class 11

The document provides a list of 20 simple Python programming exercises for practice. These exercises cover basic concepts such as printing messages, variable assignment, user input, mathematical calculations, and control structures. The tasks are designed to help beginners improve their programming skills in Python.

Uploaded by

aditi2009.soni
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views1 page

Python Programs For Practice-Class 11

The document provides a list of 20 simple Python programming exercises for practice. These exercises cover basic concepts such as printing messages, variable assignment, user input, mathematical calculations, and control structures. The tasks are designed to help beginners improve their programming skills in Python.

Uploaded by

aditi2009.soni
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

PYTHON PROGRAMS FOR PRACTICE

1. Write a simple python program in a Text Editor to print “Hello world”.

2. Write a simple python program to assign same value to multiple variables.

3. Write a simple python program to assign multiple values to multiple variables.

4. Write a simple python program using single line comment and multiline

comment.

5. Write a simple python program to get the input from the user interactively

using the built-in function input ().

6. Write a simple python program to get the input from the user and use int () or

float () function with the read value to change the type.

7. Create a List and a Tuple and print it to user.

8. Write a python program to print the area of a circle of radius 3.75 meters.

9. Write a simple python program to obtain three numbers and print their sum.

10. Write a simple python program to obtain length and breadth of a rectangle and

calculate the area.

11. Print area of circle, square and rectangle asking inputs from users.

12. To obtain temperatures of 07 days and then display average temperature of the

week.

13. Python program to check if number entered by user is prime or not.

14. Check is year is leap or not asking year from user.

15. Print Fibonacci series between the ranges given using for loop.

16. Print factorial of a number using for loop.

17. Print table of any no given by user.

18. Program to find the weather a number is prime or not.

19. Python program to find sum of digits of a number using for loop.

20. Program to find Body Mass Index (BMI) of a person taking input of weight in

kg and Height in meter. BMI=kg/m2

You might also like