+ 2
what does 7% (2//3) meant ?
3 Réponses
+ 8
// performs the euclidian division.
% gives you the modulus, ie the remainder of the euclidian division.
For example:
42//9 = 4 and 42%9 = 6 because 42 = 9*4+6.
7% (2//3) is probably undefined since I don't think modulo 0 has any meaning.
+ 4
// gives the quotient
while
% gives you the remainder
0
i dont no