2.6.py 102 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 " км")