10 lines
150 B
Python
10 lines
150 B
Python
from pathlib import Path
|
|
|
|
|
|
path = Path('pi_digits.txt')
|
|
contents = path.read_text()
|
|
|
|
lines = contents.splitlines()
|
|
for line in lines:
|
|
print(line)
|