Answer Posted / glibwaresoftsolutions
- `/` is the true division operator that always returns a float result, even if both operands are integers.
```python
result = 7 / 3 # Returns 2.3333...
```
- `//` is the floor division operator, which returns the largest integer less than or equal to the result.
```python
result = 7 // 3 # Returns 2
```
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is python shell scripting?
What tools can be used to unit test your python code?
What are the types of python?
What are the 3 types of numbers in python?
What is a docstring in python?
Explain about cookies in python?
Why do we need operator overloading?
Does Python support strongly for regular expressions?
Explain me what does the
What is end in python?
What is difference between set and list in python?
What is setup py in python?
What is "typeerror: 'module' object is not callable"?
Are sets hashable python?
What are the differences in list and tuple?