willmcgugan, #Python challenge for y'all.
Your mission, should you chose to accept it...
Write a function to get the last 5 lines from a text file as efficiently as possible. Assume line endings are all "\n".
Should work with text files of any size.
Add comment