ফ্লোটিং পয়েন্ট
>>> type(a)
<class 'float'>
>>> float(4)
4.0
>>> .4e9
400000000.0
>>> .5e2
50.0
>>> 4.4e2
440.0
>>> 2.e0
2.0
>>> 2.e1
20.0
>>> 2.e
SyntaxError: invalid syntax
>>> 2e
SyntaxError: invalid syntaxLast updated
Was this helpful?
>>> type(a)
<class 'float'>
>>> float(4)
4.0
>>> .4e9
400000000.0
>>> .5e2
50.0
>>> 4.4e2
440.0
>>> 2.e0
2.0
>>> 2.e1
20.0
>>> 2.e
SyntaxError: invalid syntax
>>> 2e
SyntaxError: invalid syntaxLast updated
Was this helpful?
Was this helpful?