Question: Write a python function copy(x, y) that can copy a file x into another file y. Use demo.txt as the input to verify your function.
Write a python function copy(x, y) that can copy a file x into another file y. Use demo.txt as the input to verify your function. Hint: use functions open( ), read( ), write( ), and close( ).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
