I want help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I want help

It have to plus digit of a number But it has no output What’s the problem?! https://code.sololearn.com/cN8OTV2dMv8j/?ref=app

13th Jan 2020, 12:53 PM
Laya Mousavi
2 Answers
13th Jan 2020, 1:24 PM
Mihai Apostol
Mihai Apostol - avatar
0
You make endless while loop in f function. n not changed, loop condition always true for n>100
13th Jan 2020, 1:25 PM
Igor Kostrikin
Igor Kostrikin - avatar