GCD program
defged(a,b):
if(b==0):
return a
else:
returnged(b,a%b)
a=int(input("Enter first number:"))
b=int(input("Enter second number:"))
GCD=ged(a,b)
print("GCD is:")
print(GCD)
Answers
Answered by
0
Answer:
at ha
msurhsmehms kjshmsateueukaymay YNGaoyowsulwe7uslualah emywmwykgqiqgpsg
Answered by
0
Answer:
enter the first number:100
enter the second number:200
GCD is 100
Explanation:
start
get a,b
if(b==0),return a
else,return gcd(b,a%b)
print gcd(a,b)
stop
my suggestion : better u use pydroid 3 app for python
really its useful to u
hope! its helpful to u
Similar questions