Python_BH
Saturday, October 1, 2016
[Basic Concept] Floats
float => can be directly create
entering a number with decimal point
using operator division on integers (Extra zero are ignored)
>>>3/4
0.75
>>>9.8765000
9.8765
Implicit Conversion => The float can be added to integer because Python convert Integer to Float.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment