Numeric operation | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 2

Numeric operation

Pls help me with this.. how 7%(5//2) turnout to be 1?

29th Jan 2018, 4:47 PM
UniWave
UniWave - avatar
1 Respuesta
0
5//2 results in 2. % gives you the remainder.. 7%2 is 1. 2, 4, 6... 1 is the remainder
29th Jan 2018, 4:50 PM
LordHill
LordHill - avatar