+ 1
What is // in Python?
What is the difference between / and // ?
2 Answers
+ 11
// is known as floor division. It rounds off the result of a normal division to its lower limit. E.g.
10/3 = 3.3333...
10//3 = 3
+ 2
Thanks so much ^^
What is the difference between / and // ?