結果 : write a method in python to read lines from a text file