Python - Scientific Notation

Card Puncher Data Processing

About

Python uses a traditional programming notation for scientific fic notation.

The notation:

  • 6.022e23 denotes the value 6.02*10^23,
  • 6.626e-34 denotes the value 6.626*10^-34.

Since Python uses limited-precision arithmetic, there are round-o ff errors:

>>> 1e16 + 1
1e16







Share this page:
Follow us:
Task Runner