Write a script named copyfile.py. This script should prompt the user for the names of two text files. The contents of the first file should be input and written to the second file.
Answers
Answered by
1
Answer:
with open("test.txt") as f:
with open("out.txt", "w") as f1:
for line in f:
f1.write(line)
Explanation:
have a nice day
Similar questions
English,
1 month ago
Economy,
1 month ago
Math,
3 months ago
Environmental Sciences,
9 months ago
Math,
9 months ago