
What is the difference between / and // operator in Python?
Last updated 3 weeks, 5 days ago | 19 views 75 5

Python | / and // Operator
- /: is a division operator and returns the Quotient value. e.g: 10/3 will return 3.33
- // : is known as floor division operator and used to return only the value of quotient before a decimal. e.g: 10//3 will return 3