How to write the Euclidean Algorithm Recursively in Python

后端 未结 0 408
北荒
北荒 2021-01-12 03:33

I have a code shown below:

a = int(input("What\'s the first number? "))
b = int(input("What\'s the second number? ")) 
r=a%b
while r:
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题