Update all new Tasks
This commit is contained in:
parent
00a190b0a6
commit
91df62d461
5697 changed files with 93386 additions and 804 deletions
6
Task/File-input-output/Python/file-input-output-2.py
Normal file
6
Task/File-input-output/Python/file-input-output-2.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
infile = open('input.txt', 'r')
|
||||
outfile = open('output.txt', 'w')
|
||||
for line in infile:
|
||||
outfile.write(line)
|
||||
outfile.close()
|
||||
infile.close()
|
||||
Loading…
Add table
Add a link
Reference in a new issue