def ls(): with open("todo.txt",\'r+\') as file: lines = file.readlines() # lines = reversed(lines) for num,line in enumerate(line