wei/unit-10/file_reader.py

4 lines
106 B
Python

filename = 'pi_digits.txt'
with open(filename) as file:
for line in file:
print(line.rstrip())