GH avatar 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!

Will you be Pythonista #57 to crack this Bite?
It takes an average of ~50 minutes to solve this Bite (submissions 5-240 min).
Pythonistas rate this Bite 4.5 on a 1-10 difficulty scale.
» Up for a challenge? 💪

Buy Now Login and get coding
We use Python 3.7