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!

Login and get coding
go back Intermediate level
Bitecoin 3X

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

Focus on this Bite hiding sidebars, turn on Focus Mode.

Ask for Help