+ 1

Code

What is the highest number output by this code? def print_nums(x): for i in range(x): print(i) return print_nums(10) how zero?

25th Feb 2018, 9:11 AM
Jordan
Jordan  - avatar
1 Answer
+ 1
it seems there is a problem with the indent of code try this def print_nums(x): for i in range(x): print(i) return print_nums(10)
25th Feb 2018, 9:19 AM
Sirvan Parasteh
Sirvan Parasteh - avatar