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

Question :

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

Floating constants are represented in Python in two forms — Fractional Form and Exponent form. Examples:


Fractional Form — 2.0, 17.5, -13.0, -0.00625

Exponent form — 152E05, 1.52E07, 0.152E08, -0.172E-3


Similar Questions


CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz