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

Is string iterable python?

865


Is python free or paid?

875


How do you merge one dictionary with the other?

920


What is called loop?

900


Does python have long?

789


Tell me what are different ways to create an empty numpy array in python?

949


Tell me the use of the split function in python?

995


What is a lambda in coding?

846


What are cookies python?

856


What is map and filter in python?

844


How many variables are in python?

851


Explain python’s pass by references vs pass by value.

882


How to walk through a list in a sorted order without sorting the actual list?

1151


Which certification is best for python?

856


Write a program to find the duplicates in a list?

787