# your code goes heredef f(l): if l == 0: return 0 return l + f(l-1) x = f(10)print(x)
Standard input is empty
55
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!