+ 4
Hi, Why it outputs 32 instead of 31?
When I input 16, it outputs 5-correct. But if input is 10, it outputs 32-wrong. https://code.sololearn.com/c3ClKpzwOjjv/?ref=app
3 Respuestas
+ 6
Vasiliy ,Thank You very much☺️
+ 3
'>=' !!!Debug ☺️
+ 1
The flaw must be in your data info if you are convinced that 31 is the correct answer for an input of 10.
I noticed that when I remove the int() & the *100, I get the following results
16 -> .058
10 -> .320
So both results are high, but the first result is mitigated by the int()