时间:2026-02-11 22:44:04
1、输入import math
python打开编辑器后,输入import math。
2、输入math.pi
按回车键后,输入math.pi。
3、计算π值
就能看到自动计算出π的近似值了。