I didnt get this | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

I didnt get this

23rd Jan 2020, 6:21 PM
Saksham Mittal
Saksham Mittal - avatar
5 Respuestas
+ 3
What exactly didn't you understand?
23rd Jan 2020, 6:22 PM
HonFu
HonFu - avatar
+ 3
What is it that you're not getting, please be clear enough with your question so that you can get the response you need from the community
23rd Jan 2020, 6:23 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 3
That's known as modulus operator 10%3 will give the remainder when you divide 10 by 3 which is 1 // is a floor division
23rd Jan 2020, 6:34 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 2
// and % how do they work and thanks for replying
23rd Jan 2020, 6:24 PM
Saksham Mittal
Saksham Mittal - avatar
+ 1
Is exactly like ✳AsterisK✳ says an example is: 4 % 4 = 0 8 % 3 = 2 9 // 3 = 3 1 // 2 = 0 cause (0.5 ~ 0)
23rd Jan 2020, 7:20 PM
Esteban Chacon Martín
Esteban Chacon Martín - avatar