python-by-example-150-chall.../challenges27-34/challenge-030.py

4 lines
86 B
Python
Raw Normal View History

2019-07-17 14:56:46 +08:00
import math
2025-05-26 06:49:34 +08:00
dig = int(input("how many digits you want: "))
print(round(math.pi, dig))