16th Sep 2017, 7:07 PM
Lenox
Lenox - avatar
1 Respuesta
+ 8
Firstly in operations you do what is inside the brackets first, "//" means floor division so 5 divided by 2 is 2.5 and that round down to the nearest whole number is 2. Next "%" finds the remainder when you're dividing numbers, 2 goes into 7, 3 times and there is 1 left over, so the answer is 1.
16th Sep 2017, 7:34 PM
LynTon
LynTon - avatar