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!

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

Github login button
We use Python 3.7