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


Please Help Members By Posting Answers For Below Questions

Explain split(), sub(), subn() methods of “re” module in python.

928


Explain assert in action?

848


What is pip install?

895


Why pandas is used in python?

893


Is __ init __ necessary in python?

861


What is a for loop in python?

818


What is the difference between python append () and extend () functions?

1010


How to count the number of instance?

897


What do you understand by python generator?

980


What is enumerate python?

905


Which website is best for python?

884


What is the difference between numpy and pandas?

868


What is the difference between remove() function and del statement?

1025


What is the language from which Python has got its features or derived its features?

971


Why python language is called python?

904