>>> for line in reversed(list(open('Today.txt'))):
print(line.rstrip())
container
itertools
Debugger
This sem’s subjects
Python, C++, Java
HTML, CSS, jQuery, JavaScript
OS, DBMS, DS, ADA
本文首发于Python黑洞网,博客园同步更新
>>> for line in reversed(list(open('Today.txt'))):
print(line.rstrip())
container
itertools
Debugger
This sem’s subjects
Python, C++, Java
HTML, CSS, jQuery, JavaScript
OS, DBMS, DS, ADA
本文首发于Python黑洞网,博客园同步更新
转载于:https://www.cnblogs.com/pythonzhichan/p/11410263.html