0

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.

6th Apr 2020, 9:04 AM
Aj Patil
Aj Patil - avatar
1 Odpowiedź
0
The code is explained in comments. https://code.sololearn.com/c3eGSo6cwyA6/?ref=app
6th Apr 2020, 10:21 AM
Avinesh
Avinesh - avatar