I want to reverse the format of the output of the following code (both lines and line number should be in reverse order)

后端 未结 0 438
独厮守ぢ
独厮守ぢ 2020-12-30 16:31
def ls():
    with open("todo.txt",\'r+\') as file:
        lines = file.readlines()
#       lines = reversed(lines)
        for num,line in enumerate(line         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题