#P0002. 光速绕行地球

光速绕行地球

1. Problem Description

It is known that the Earth is roughly spherical with a diameter of 12,742 kilometers. We can approximate the circumference of the Earth using the circle circumference formula:

Cir=π×diameterCir = \pi\times diameter

to calculate the Earth's equator circumference.

Additionally, we know that the speed of light is 299,792,458 meters per second. How many seconds does it take for light to travel around the Earth's equator?

2. Input and Output

Input:

  • There is no input for this problem.

Output:

  • Output a floating-point number, with 7 digits after the decimal point.
  • Use print() for output.