+ 3
7%(5//2)
How can be this 1?
10 Answers
+ 13
@ Pratim Majumder, // is the quotient for example 5 is contains (2 and 2) and (7contains 2+2+2)
and % is remainder for example 7%2 if we subtract (7 -2-2-2=1) the remaining from 7 is 1
8%(5//3)=0
5//3=1
8%1=0
10%(11//3)=1
11//3=3
10%3=1
+ 2
@Ahmed Kamal
5//3 â here 3 contains 1time
&
8- (8times of 1) =0
Is this it?
+ 1
5//2 = 2
7 %2 = 1
+ 1
how? give brief using another example @ Ahmed Kamal
0
@Pratim Majumder, yes :)
0
this reminds me of adding subtracting bases
0
8%(7//2)=
7//2=3
8%3=2 is true
0
@ Atka, Yes :)
0
â„â„â„â„(print)('Hi')
0
It is very simple // means quotient and % means remainder hence 5//2 = 2 and 7% ( 5//2) = 7 % 2 = 1