New course! Every coder should learn Generative AI!
Try a free lesson0
Function definitons help
Newbie to python here. Could someone be kind enough to explain this to me please? What is the highest number output by this code? def print_nums(x): for i in range(x): print(i) return print_nums(10) >>> 0 >>> Thanks for the assistance.
1 Answer
0
The code is explained in comments.
https://code.sololearn.com/c3eGSo6cwyA6/?ref=app