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

I am trying to get into IT companies. I am finding it very difficult to have it. Don't know at what place I am lacking. At least, if some interviews get conducted, there is a chance of understanding it a bit. Some of my friends are working as fake in IT and they said, HR and other conducting people are not even opening the request posted by freshers, while being a fresher, it is making me very stressed. Even I applied at many companies but not getting response. I asked from my friends about my resume because I was worrying whether I am making mistakes in representing myself but they said it is okay enough. Now coming to education, I have completed M.Tech., GATE(2 times), NET, Research Paper in IEEE international conference (accepted and in process to be published) etc. While submitting the resume, I am mentioning the projects and link of codes that I have done. Still I am only getting the calls from BPO and Voice support that is completely irrelevant for me. There are my seniors who are getting more than 100K per month, they say, I am better than they are based on my education and what ever they observed, it makes me feel better for a moment but still I am not confident enough because I don't have actual idea of working in industry. The more important is, I am jobless and not getting opportunity to start my career. Now I am thinking to hide my degree and other qualifications, and producing fake experience certificate of 2+ years. Putting fake is making me feel guilty and uncomfortable but I have no other choice. Can somebody please suggest me whether I should do it or not? Your suggestions are valuable for me. I am thankful to all of you!

1197


Are tuples mutable?

797


What is automation in python?

837


What is sphinx in python?

823


What is redis python?

839


Why should I learn python in 2019?

920


What does __name__=='__main__' in python mean?

884


What is the purpose of _init_() function in python?

792


Is there a constructor in python?

815


How will you check python version?

888


How to find the index of an element in a list python?

795


Is python shell scripting?

793


Is c++ or python better?

776


How will you remove the last object from a list?

791


What is django python?

870