Python Scientific Notation
Syntax
Scientific notation in Python is represented using e or E, where e signifies “times ten raised to the power of.”
# Using scientific notationa = 1.2e3 # 1.2 × 10^3 = 1200a = 1.2E3 # 1.2 × 10^3 = 1200b = 5.67e-4 # 5.67 × 10^-4 = 0.000567b = 5.67E-4 # 5.67 × 10^-4 = 0.000567