In short, such a topic, I need the remainder of division by 20, I write as it should , but for some reason I have 3696 when divided by 20, the remainder writes 16, not 8. What should I do? i % 20
Why 8?
3696//20 = 184 whole parts
184 * 20= 3680
3696 - 3680 = 16
What you got is 184.8, then these 8 tenths will not be the remainder, because they still need to be multiplied by 20 (just like 184 needs to be multiplied by 20), and 0.8 * 20 = 16