Iteration Statement
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