0
Why the output is different for both codes? Why it is showing Number of digits like 327? I couldn't understand , Help me !!
https://code.sololearn.com/WFwTsJx2b6s6/?ref=app https://code.sololearn.com/WCfUfYSxI1Oe/?ref=app
2 Respostas
+ 3
In the invalid code it shows weird results because the number is treated as float and "never" reaches 0.
0
Oh, i got it !
Thanks for the explanation.