import math dig = int(input("how many digits you want: ")) print(round(math.pi, dig))