Write a program that makes a backup of a file. Your program should prompt the user for
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a program that makes a backup of a file. Your program should prompt the user for the name of the file to copy and then write a new file with the same contents but with .bak as the file extension.
Sample Run:
Enter a file name: example.dat Your backup file is example.dat.bak
please solve using python!
Related Book For
Building Java Programs A Back To Basics Approach
ISBN: 9780135471944
5th Edition
Authors: Stuart Reges, Marty Stepp
Posted Date: