I'm not the only one person to see an error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I'm not the only one person to see an error

7%(5//2)= 7%2.5 = 2,8 and not 1

22nd May 2019, 6:00 AM
Hmmmmmmm
Hmmmmmmm - avatar
3 Answers
+ 3
Btw, 7%2.5 would be 2.0, not 2.8. Your assumption that /, // and % all stand for division is wrong.
22nd May 2019, 6:54 AM
Anna
Anna - avatar
+ 1
7%(5//2) == 7%2 == 1.
22nd May 2019, 6:02 AM
Diego
Diego - avatar
+ 1
Oh, I see Thank
22nd May 2019, 6:04 AM
Hmmmmmmm
Hmmmmmmm - avatar