+ 1

Hi, i am completely new into python would like to know what is a float.

3rd Mar 2017, 7:44 AM
EINS MAX
EINS MAX - avatar
4 odpowiedzi
+ 5
it is a dataype that stores decimal numbers. 2.0 is a float. 2 is an Integer
3rd Mar 2017, 7:57 AM
Meharban Singh
Meharban Singh - avatar
+ 3
'float' stand fot FLOATing point number, as they handle a decimal part after a moving dot ( can be one ore me digit in front of ), and are store in a special way... contraly to INTegers, which can be stored without special codification ( computers handles integer basically ).
3rd Mar 2017, 2:05 PM
visph
visph - avatar
+ 1
Great!
3rd Mar 2017, 7:59 AM
EINS MAX
EINS MAX - avatar
- 2
its when u stay on top of the water in a poll or if u through a stick in to water it will float.
8th Mar 2017, 2:56 PM
Ronin Ashcroft
Ronin Ashcroft - avatar