# for i in range(1,10):
#    for j in range(1,10):
#       print(i,"*",j,"=",i*j)
# a,b=eval(input("enter two number a,b"))
# while b!=0:
#     a,b= b,(a%b)
# print(a)
import random
import time
# i=0
# correct=0
# startTime = time.time()
# for i in range(5):
#   a=random.randint(1,100)
#   b=random.randint(2,100)
#   print("enter the sub of ",a,"-",b)
#   ans=eval(input("the sub of"))
#   if ans==a-b:
#       correct= correct +1
# print("the correct=",correct)
# endtime = time.time()
# tot=endtime-startTime
# print(tot)


#guessi ng number
# x=random.randint(0,100)
# ans=-1
# while ans != x:
#    ans=eval(input("enert a num"))
#    if ans > x:
#        print("too high")
#    elif ans< x :
#         print("too low")
#    else:
#         print("found",ans)
#      


#Table
# for i in range(1,10):
#     for j in range(1,10):
#         print(format(i*j,'<3d')," ",end = '')
#     print("\n")


#gcd
# a,b= eval(input("enter two number a,b"))
# if a>b:
#    for i in range(b,2,-1):
#        if a%b=0:
#            gcd=a
#        else 
   
# gcd=1
# k=2
# while k<=a and k<=b:
#     if a%k==0 and b%k==0:
#         gcd=k 
#     k=k+1
# print("gcd",k)




# tution fee

# initial=10000
# amt=0
# year=0
# while amt < 20000:
#     amt=10000+0.7*10000
#     year=year+1
# print(year)


# cal of pi   generates number between 0 and 1  [0,1[ 
trail=10000
hits=0

# for i in range(trail):
#   x=random.random()*2-1
#   y=random.random()*2-1 
#   if (x*x +y*y) <=1:
#       hits=hits+1
# pi=4*hits/10000
# print (pi) 


#break and continue
# sum=0
# number=0
# while number<20:
#     sum=sum+number
#     if sum >100:
#         break
#     
# print(number)



#prime number
# isprime=True
# no=eval(input("enter a number"))
# for i in range(2,no-1):
#     if no%i==0:
#         print("not a prime")
#         isprime=False
#         break
# if isprime==True:
#     print("prime")



# first 50 prime
 
 
        
    



