What does // mean in Python
// is an operator in Python. It is one of the several operators in Python. You know that the / operator is division, it divides the first operand by the second and returns a float value.
// operator is also division but the return value is floor of the division operation.
Lets see some examples to understand it.
Hope that doubt of yours is clear now. Try working out some examples. If any more doubt comes, come visit our site.
Subscribe
Login
Please login to comment
0 Discussion