# your code goes heredef gcd(a, b): if b == 0: return a else: r = a % b return gcd(b, r) print(gcd(21, 35))
Standard input is empty
7
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!