+ 3

7%(5//2)

How can be this 1?

11th Jul 2016, 10:30 AM
Pratim Majumder
Pratim Majumder - avatar
10 Respostas
+ 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
11th Jul 2016, 1:49 PM
Ahmed Kamal
Ahmed Kamal - avatar
+ 2
@Ahmed Kamal 5//3 → here 3 contains 1time & 8- (8times of 1) =0 Is this it?
11th Jul 2016, 1:59 PM
Pratim Majumder
Pratim Majumder - avatar
+ 1
5//2 = 2 7 %2 = 1
11th Jul 2016, 11:02 AM
Ahmed Kamal
Ahmed Kamal - avatar
+ 1
how? give brief using another example @ Ahmed Kamal
11th Jul 2016, 1:28 PM
Pratim Majumder
Pratim Majumder - avatar
0
@Pratim Majumder, yes :)
11th Jul 2016, 3:00 PM
Ahmed Kamal
Ahmed Kamal - avatar
0
this reminds me of adding subtracting bases
11th Jul 2016, 9:30 PM
Musachi
Musachi - avatar
0
8%(7//2)= 7//2=3 8%3=2 is true
12th Jul 2016, 4:52 AM
Atka
Atka - avatar
0
@ Atka, Yes :)
12th Jul 2016, 5:03 AM
Ahmed Kamal
Ahmed Kamal - avatar
0
≥≥≥≥(print)('Hi')
12th Jul 2016, 3:09 PM
Mazin
0
It is very simple // means quotient and % means remainder hence 5//2 = 2 and 7% ( 5//2) = 7 % 2 = 1
12th Jul 2016, 8:09 PM
RUDRABHA MUKHERJEE
RUDRABHA MUKHERJEE - avatar