programming-examples/python/Algorithms/read_file.py

5 lines
77 B
Python
Raw Normal View History

2019-11-15 12:59:38 +01:00
file = open("input.txt", "r")
for line in file:
print(line)
file.close()