+ 1

I cant understand this concept

6//2?? 3%6?

4th Jan 2017, 5:57 AM
kishore kishore
kishore kishore - avatar
3 ответов
+ 2
first one is an error. and second one is used to find remainder.
4th Jan 2017, 6:14 AM
Nawaj Shareef
Nawaj Shareef - avatar
0
// division then round to the nearest integer that is equal or smaller than the result. eg. 11//3==3, -11//3==-4 % gives the remainder of a division eg 11%3==2
4th Jan 2017, 6:17 AM
ifl
ifl - avatar
0
@Nawaj Shareef: it is Python 3.5, not 1.x or 2.x (x < 5, maybe?)
5th Jan 2017, 7:09 PM
Amaras A
Amaras A - avatar