How are floating constants represent in python ? Give example to support your answer
Answers
Answered by
10
you can represent it in two ways:
1) decimal notation: 2.53, 3.0
2)Exponential notation: 2E-02 means 2×10^-2
Answered by
2
Answer:
Explanation:
In python programming language there are Five Datatypes which are:
Number
String
List
Dictionary
Tuples
and if someone doesn't want to specify Datatype in python it is also supported.
for example:
pi=3.14 or it can also specify as number pi=3.14
Similar questions