What does the // operator do?
In Python, the / operator performs division and returns the quotient in the float.
For example: 5 / 2 returns 2.5
The // operator, on the other hand, returns the quotient in an integer.
For example: 5 // 2 returns 2
For example: 5 / 2 returns 2.5
The // operator, on the other hand, returns the quotient in an integer.
For example: 5 // 2 returns 2