- 3

What is a float

30th Oct 2017, 10:47 AM
Uditya Pandey
Uditya Pandey - avatar
2 ответов
+ 10
Straight from the Python course - https://www.sololearn.com/Course/Python/?ref=app : Floats are used in Python to represent numbers that aren't integers. Some examples of numbers that are represented as floats are 0.5 and -7.8237591. They can be created directly by entering a number with a decimal point, or by using operations such as division on integers. Extra zeros at the number's end are ignored. For eg. >>> 3/4 0.75 >>> 9.8765000 9.8765
30th Oct 2017, 11:01 AM
Dev
Dev - avatar
+ 3
is funny how the tags in your question are actually your answer.
30th Oct 2017, 12:38 PM
seamiki
seamiki - avatar