0% found this document useful (0 votes)
17 views2 pages

Iteration Statement

The document contains a list of programming exercises focused on iteration statements using loops in Python. It includes tasks such as printing messages, calculating factorials, generating Fibonacci series, and checking for prime numbers. Each exercise is designed to enhance understanding of loops and basic programming concepts.
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)
17 views2 pages

Iteration Statement

The document contains a list of programming exercises focused on iteration statements using loops in Python. It includes tasks such as printing messages, calculating factorials, generating Fibonacci series, and checking for prime numbers. Each exercise is designed to enhance understanding of loops and basic programming concepts.
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
You are on page 1/ 2

Iteration Statement

1. Write Program to Print 10 times Hello Python using for and while loop.
2. Write Program to Print First 10 Natural Numbers using for and while.
3. Write Program to Print First 10 even Numbers and their sum using for
and while.
4. Write Program to Print Odd between start to end numbers and their sum
using for and while loop.
5. Write Program to Print Square and cube and square Root from 1 to N in
Tabular Form.
6. Write Program to calculate Factorial using for and while.
7. Write a Program to Display Factors of a Number.
8. Write a program to generate multiplication table of a Number.
9. Write a program to print ASCII value of all characters from 1 to 128.
10.Write Program to count no. of Positive and Negative from 10 Number
entered by user.
11.Write a Program to find largest and lowest number in n numbers entered
by user.
12.Write a program to read 10 integer numbers from the keyboard and find
out the sum and average of all the even numbers entered by user.
13.Write a program in to read 10 numbers from the keyboard and find out
second largest number from them.
14. Write a program to read a number and check if it is automorphic or not .
( A number when multiplied by it self , the resultant number contains the
last digits of the original number ) Example ( 5 )2 = 2 5, ( 6) 2 = 36, (25
)2 = 625
15.Write a program to check given number is prime number or not.
16.Write a program to find out prime factor of given number.

17.Write a program to read a number and find out all the odd prime factor of
a given number.
18.Write a Program to find sum of its digit. Eg 123 => 6
19.Write a Program to Reverse a Number. Eg. 123 => 321

www.techmindguru.com | 999 000 8772 | 987 187 0281


20.Write a program to check given number is palindrome number or not.
21.Write a program to check given number is Armstrong number or not.
22.Write a Program to print a digit in word.(eg 123 = ONE TWO THREE)
23.Write a program to print first N Fibonacci series.
24.Write a program to print Fibonacci series up to N.
25.Write a program to check given number is perfect number or not.
26.Write a Program to Find LCM and HCF of two Numbers
27.Write a program to find out NCR & NPR factor of given number.
28.Write a program to find out generic root of any number
29.Write a Program to Calculate the Power of a Number
30.Write a Program to check perfect square and cube.
31.Write a Program to Print Table form 1 to N.
32.Write a Program to display Prime Numbers between two intervals.
33.Write a Program to display Palindrome number between two intervals
34.Write a Program to display Armstrong number between two intervals
35.Write a Program to display reverse of digit between two intervals.
36.Write a Program to print a 6 digit Numbers in word.(eg 123 = ONE
HUNDRED TWENTY THREE)
37.Write a Program to print to convert a number from decimal to binary.
38.Write a Program to print to convert a number from binary to decimal.

www.techmindguru.com | 999 000 8772 | 987 187 0281

You might also like