+ 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?
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)