浮点数末尾的python中后缀e + number的含义是什么?

cur*_*ous 4 python python-2.7

random.uniform(1,2**100)用来生产范围内的随机浮点数(0,2**100).一些结果是:

>>> random.uniform(1,2**100)
5.9798650563331964e+29
>>> random.uniform(1,2**100)
8.439133849811236e+29
>>> random.uniform(1,2**100)
1.1367823572756921e+30
>>> random.uniform(1,2**100)
6.467828850316163e+29
>>> random.uniform(1,2**100)
6.114089228136624e+29
>>> random.uniform(1,2**100)
5.8262139039159224e+29
Run Code Online (Sandbox Code Playgroud)

我无法e+29在每个数字的末尾得到解释.

var*_*tec 11

它被称为E符号,它是科学符号的纯文本表示.

1.234e+56表示1.234 * 10**56或以更易读的形式1.234×10 56.