Computer Science, asked by sneha9994, 3 months ago

Write a function in python to copy content of one text file to another text file. ​

Answers

Answered by PᴀʀᴛʜTʀɪᴘᴀᴛʜɪ
2

Python Program to Copy the Contents of One File into Another :-

1. Open one file called test. txt in read mode.

2. Open another file out. txt in write mode.

3. Read each line from the input file and write it into the output file.

4. Exit.

Answered by srnroofing1717
0

Answer:

\fbox\red{==>open 1 file called [tex]\tt\red{test}

\tt\red{TXT in read mode }

Similar questions