0
Need to fix these question.
What is the highest number output by this code? def print_nums(x): for i in range(x): print(i) return print_nums(10) Answer will be 0 so need to ask "What is the lowest number output by this code?"
2 Réponses
+ 9
The answer is 0 because any function stops when it reaches a return statement.
+ 4
I think the question expects you to anticipate the ascending sequence of range() ... interrupted.