Bite 51. When does Python 2 die on Planet Miller?

Imagine you landed on Planet Miller (from the movie Interstellar) where 1 hour takes 7 Earth years (known as the gravitational time dilation effect - see here if interested).

Given a fixed start date BITE_CREATED_DT calculate:

  1. How many hours Python 2 has left on Planet Earth
  2. How many minutes Python 2 has left on Planet Miller

For this program let's follow and assume Python 2.7 will indeed retire on April 12th of 2020. Also an Earth year has 365 (not 365.2425) days. Have fun!

27 out of 27 users completed this Bite.
Will you be Pythonista #28 to crack this Bite?
Average Bite difficulty 1-10 rating: 6.0
» Up for a challenge? 💪

Github login button
We use Python 3.7