Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between = and == in python?

Answer Posted / nashiinformaticssolutions

- `/` 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


Please Help Members By Posting Answers For Below Questions

What’s your preferred text editor?

968


How do you perform pattern matching in python? Explain?

799


What are the use of tuples in python?

917


What is the python decorator?

823


Why cannot lambda forms in Python contain statements?

1100


Finally, tell us about bitwise operators in python?

907


What is the length of your largest python code? Can you please describe the project?

993


Is del the same as remove()? What are they?

877


Which software is best for python programming?

888


What does Django mean in Python?

834


What is lambda? Why do lambda forms not have statements?

807


Should I learn python before c?

861


What is a negative indexing in python?

956


How is python different from java?

869


How to run script in python?

944