+ 1

Keep change the input value you get different results, why?? How??

https://code.sololearn.com/cFx3UP5rsjK8/?ref=app

10th Dec 2022, 6:21 PM
Bezu Tadesse
Bezu Tadesse - avatar
1 Answer
+ 1
Hi, Bezu Tadesse ! That's because for two positive integers a and b, (a % b) == a for all b > a.
10th Dec 2022, 9:03 PM
Per Bratthammar
Per Bratthammar - avatar