You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
x=int(input("enter first number"))
y=in(input("enter second number"))
if x>y:
smaller=y
else
smaller=x
for i in range(1,smaller+1)
if((x%i==0) and (y%i==0)):
gcd=i
print("gcd is",i)