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

16 Basic Python Programs for Beginners

The document lists a series of Python programming tasks for practice. These tasks include printing names, generating sequences of numbers, calculating factorials, and displaying patterns. Each task is designed to enhance programming skills in Python.

Uploaded by

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

16 Basic Python Programs for Beginners

The document lists a series of Python programming tasks for practice. These tasks include printing names, generating sequences of numbers, calculating factorials, and displaying patterns. Each task is designed to enhance programming skills in Python.

Uploaded by

Chanda Chourasia
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

PYTHON PROGRAMS

Write programs: -
1. To print your name 10 times.
2. To print first 10 even numbers.
3. To print counting in reverse order (50 to 1)
4. To print 10 multiples of 5.
5. To accept starting value and end value and print the numbers in
the range.
6. To accept a number and print its table in proper format
7. To calculate factorial of a number accepted by the user.
8. To print sum of first 10 numbers.
9. To display following pattern
*
**
***
****
10. To display the following pattern
****
***
**
*
11. To print first 10 numbers and stop printing if number 7 is
encountered.
12. To print first 12 numbers except 8
13. To display average of numbers from 1 to10
14. To display square of all odd numbers from 1 to 20
15. Display first 10 multiples of a number.
16. To display the numbers divisible by 5 between 1 to 100.

You might also like