Login and get codingGiven the following output, calculate the longest uptime / time between reboots:
[bbelderbos@imac log]$ last reboot reboot ~ Wed Apr 10 22:39 reboot ~ Wed Mar 27 16:24 reboot ~ Wed Mar 27 15:01 reboot ~ Sun Mar 3 14:51 reboot ~ Sun Feb 17 11:36 reboot ~ Thu Jan 17 21:54 reboot ~ Mon Jan 14 09:25The tests will check your code against different
last reboot
outputs. You can assume all dates are within the same year.Have fun and code in Python!
Will you be Pythonista #118 to crack this Bite?
Resolution time: ~50 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 3.75 on a 1-10 difficulty scale.
» You can do it! 😌