0
python return statement
def print_nums(x): for i in range(x): print(i) return print_nums(10) in this code : i dont understand why does the output =0
1 Antwort
+ 6
return stops the further execution of function and so only 0 is printed
Also you have posted the question twice,kindky delete the previous one