Python SET 8
Python SET 8
(For Loop )
In- class Programs
1. Write a program to Print the characters of String
2. Write a program to print the numbers from 1 to n with step 2
3. Write a program to Print even number from 372 to 853.
4. Write a program to print the odd numbers from 910 to 543.
5. Write a program to Print the number which are divisible by 3 and 7 from 1 to n .
6. Write a program to print the numbers from 567 to 134 which are divisible 9 and not
by 6.
7. Write a program to find the factorial of a number.
Assignment Programs
8. Write a Program to print the numbers from 1 to n
9. Write a program to print the numbers n to 1
10. Write a program to find sum up to n.
*****