# P-Assignment 10: Loops part 2

Hi,

Please do the following programs

- Write a python script to find sum of all numbers stored in a list.
- write a python script to print all the numbers in a range which are divisible by a given number
- Write a python script to take three digits as an input separately and print all the possible combinations of those digits.(Use range function)

Ex: 2 3 4

Possibilities are:

2 3 4

2 4 3

3 2 4

3 4 2

4 2 3

4 3 2

- Write a python script to print odd numbers in a given range
- Write a python script to print even numbers in a given range
- Write a python script to print numbers of 2 multiples (which are multiplied by 2)in a given range.
- Write a python script to find the smallest/least divisor of an integer.

Ex: 75

Smallest divisor is 3

- Write a python script to print all the integers between 1 and 50 which should not divisible either by 2 or 3.
- Write a python script to read a number from the user and print the sum of the series(i.e 1+2+3+…+n)

Ex 1+2+3+4=10

- Write a python script to read a number from the user and print the sum of the squares of the series(i.e 1
^{2}+2^{2}+3^{2}+…+n^{2})