





from decimal import Decimal, getcontext
from math import ceil, factorial
def      _A       (		SCREAMING_SNAKE_CASE     :   int						):





  """simple docstring"""



  if not isinstance(SCREAMING_SNAKE_CASE       ,       SCREAMING_SNAKE_CASE						):
    raise TypeError("Undefined for non-integers"						)
  elif precision < 1:
    raise ValueError("Undefined for non-natural numbers"						)

  a__	:					Tuple										=precision
  a__	:					List[Any]										=ceil(precision / 14						)
  a__	:					Tuple										=426_880 * Decimal(10_005						).sqrt()
  a__	:					List[Any]										=1
  a__	:					str										=13_591_409
  a__	:					Any										=Decimal(SCREAMING_SNAKE_CASE						)
  for k in range(1       ,       SCREAMING_SNAKE_CASE						):
    a__	:					Any										=factorial(6 * k						) // (factorial(3 * k						) * factorial(SCREAMING_SNAKE_CASE						) ** 3)
    linear_term += 545_140_134
    exponential_term *= -262_537_412_640_768_000
    partial_sum += Decimal(multinomial_term * linear_term						) / exponential_term
  return str(constant_term / partial_sum						)[:-1]


if __name__ == "__main__":
     UpperCAmelCase	:	Optional[int]		     =       50
     print(F"""The first {n} digits of pi is: {pi(n)}""")













from math import pi
def      _A       (		SCREAMING_SNAKE_CASE     :   int       ,       SCREAMING_SNAKE_CASE     :   int						):





  """simple docstring"""



  return 2 * pi * radius * (angle / 360)


if __name__ == "__main__":
     print(arc_length(90, 10))






