3 lines
90 B
Python
3 lines
90 B
Python
with open('nums.txt', 'w') as f:
|
|
for i in range(1, 21):
|
|
f.write(str(i) + '\n') |