Q. How are floating constants represented in Python? Give examples to support your answer.


Answer =

Floating constant represented by positive or negative sign preceding.
But real constant with no sign is assumed to be positive.

Example = 2.0,365.23,0.002,3.

7 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post