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 (26th of Feb 2018) calculate:

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

As per pythonclock.org Python 2.7 will retire on 1st of Jan 2020 (after this date you can still do this Bite because we work a fixed start date.)

Have fun and keep calm and code in Python!

go back Intermediate level
Bitecoin 3X

77 out of 77 users completed this Bite.
Will you be Pythonista #78 to crack this Bite?
Resolution time: ~41 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 3.67 on a 1-10 difficulty scale.
» You can do it! 😌

Buy Now Login and get coding
We use Python 3.7