**Simple programs - solution for practice:**

**Copy and try on your own.**

1) First 10 prime numbers program in python

**code:**

n = 10

count=0

answer=[]

print("First ten prime no program in Python")

for i in range(1,n+1):

for j in range(2,n+1):

if i % j == 0:

count+=1

if count == 1:

answer.append(i)

count=0

print(answer)