Zebronics Zeb-Transformer-k USB Gaming Keyboard with Multicolor LED Effect
Rating - 4.5 to 4.8
Price - 1000₹ to 1100₹
8000 People already Purchase
for latest information click - https://amzn.to/3rWtdNz
Assignment-1
(m,n,pro)=(int(input()),int(input()),1)
vmin =min(m,n)
for i in range(1,vmin+1):
if m%i==0 and n%i==0:
pro=i
print(pro,end="")
Assignment-2
def fact(x):
return 1 if (x==1) or (x==0) else x*fact(x-1)
(m,n)=(int(input()),int(input()))
if(m+n>20 or n==m):
print("invalid",end="")
elif(n>0):
print(int(fact(m+1)/fact(m+1-n)*fact(m)),end="")
Assignment-3
(n,num)=(int(input()),1)
for i in range(1,n+1):
while(i!=0):
print(num*num,end=" ")
i=i-1
num=num+1
print("")
No comments: