days

Fun Fun Fun
Python

[Python fun] – How many days have you lived on Earth?

Sometimes, you may encounter some fun application on Facebook such as: ‘How many days have you lived on Earth?’ or ‘Guess how long you will live’. Well, that’s nothing magical. I’ll show you how to do that in Python with datetime library. To get the current time, we use: [in 1]: import datetime [in 2]: […]

Read More