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
Explain split(), sub(), subn() methods of “re” module in python.
Explain assert in action?
What is pip install?
Why pandas is used in python?
Is __ init __ necessary in python?
What is a for loop in python?
What is the difference between python append () and extend () functions?
How to count the number of instance?
What do you understand by python generator?
What is enumerate python?
Which website is best for python?
What is the difference between numpy and pandas?
What is the difference between remove() function and del statement?
What is the language from which Python has got its features or derived its features?
Why python language is called python?