此程序计算2的平方根,但它不会将数字显示为我想要的1000位精度,而是只显示50位数.
这是程序
import math a=format(2.0**0.5, '.1000') print a
我想知道如何编写程序来显示更多数字.
python digits
digits ×1
python ×1