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