f = open("demofile.txt", "r") print(f.readline()). Run Example ». By calling readline() two times, you can read the two first lines: ...
確定! 回上一頁