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

While // denotes floor division (result is an integer), / denotes precise division (result is a floating point value). For instance:

5//2 = 2 5/2 = 2.5

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the implementation in python program?

979


which is the most commonly used package for data importing and manipulation?

949


What are range and xrange?

960


What are views in python?

923


Which module(s) of python can be used to measure the performance of your application code?

938


What does time sleep do in python?

961


What are python dictionaries?

960


What does tuple mean?

865


What is the process of pickling and unpicling?

987


What is dogpile effect? How can you prevent this effect?

928


Is python 0 based?

865


Which is the invalid variable assignment from the below?

849


What does ** (double star/asterisk) and * (star/asterisk) do for parameters?

933


How to add values to a python array?

997


What is kwargs in python?

959