0
What mean 20//2=?
pls help me
4 Antworten
+ 2
20//2=10
8/3=2.666666
8//3=2
8%3=0.666666
I hope these Examples can help you
+ 1
division, and the result is whole number. in python / is true division.
20//2 is the same in thos case, that 20/2.
8//3 is 2
8/3 is 2.666666
0
The double slash gives the quotient of the division. If you divide 20 by 2, the quotient is 10. So console prints 10 as the answer.
0
20//2=10
// Rounding