What is the difference between '/' and '//' when used for division?
Asked 07 September, 2021
Viewed 2.9K times
  • 66
Votes

Is there a benefit to using one over the other? In Python 2, they both seem to return the same results:

>>> 6/3
2
>>> 6//3
2

16 Answer