+ 1
What does 7% (5//2)=
9 Answers
+ 4
5//2 = 2
7 % 2 = 1
so the answer is 1
+ 3
modulo is the rest of division:
>>> 7.0 / 2
3.5
>>> 7 / 2 # integer division
3
>>> 7 % 2
1
7 == ( 3 x 2 ) + 1 == ( ( 7/2 ) x 2 ) + ( 7%2 ) )
+ 2
You don't learn anything by this way ^^
Try by yourself a little before spamming basics questions...
+ 1
thanks N3tW0rk
+ 1
np
+ 1
thanks i guess
0
5//2=2
7%2=1
Therefore , 7%(5//2)=1
0
what is modulo
0
1