Friday, April 10, 2020

Answer for Basic Python Syntax - Introduction to Syntax and Operators

https://365datascience.com/dwqa-answer/answer-for-basic-python-syntax-introduction-to-syntax-and-operators/ -

Hi Neelanjan, 

thanks for being a part of our courses!

The reason you’re getting a false when asking if 10 > 10.0 isn’t to do with the types. It’s because 10 is equal to 10.0. So, if you instead run :

10 == 10.0

you’d get a True response.

 

Cheers, 

Eli




#365datascience #DataScience #data #science #365datascience #BigData #tutorial #infographic #career #salary #education #howto #scientist #engineer #course #engineer #MachineLearning #machine #learning #certificate #udemy

No comments:

Post a Comment