4 lines
86 B
Python
4 lines
86 B
Python
|
G
|
with open('nums.txt', 'w') as f:
|
||
|
|
for i in range(1, 21):
|
||
|
|
f.write(f"{i}\n")
|