+ 3

Floats

Can somebody explain floats to me

9th Sep 2018, 10:53 PM
Dylan
3 Answers
+ 9
Use the search bar to look for threads that can answer your questions. https://www.sololearn.com/Discuss/1468974/?ref=app https://www.sololearn.com/Discuss/736163/?ref=app
9th Sep 2018, 11:03 PM
Eduardo Petry
Eduardo Petry - avatar
+ 8
That's a pretty general question. There is a good explanation in the fourth section ("Floats") of the first module in the Python course, which I see you've started. https://www.sololearn.com/learn/Python/2272/ Basically a float is a number followed by a decimal point and one or more digits, including zero (i.e. 2.0 is a float even though it's a whole number)
9th Sep 2018, 11:09 PM
David Ashton
David Ashton - avatar
0
Dylan float is data type in Python like integer , string . 3/2=1.5 so this is float having both fraction and whole part... hope u understood.. Ty ;)😎👉🙌👌
10th Sep 2018, 12:04 PM
Sri Raman Prasad