2.6.py 87 B

12345
  1. import math
  2. R = 6350.0
  3. h = float(input())
  4. d = math.sqrt((R + h) ** 2 - R ** 2)
  5. print(d)