Question: PYTHON Implement the following with try...except: 1) Assign a variable to the filename infile.txt. 2) Remove the file, infile.txt from the current working directory. 3)
PYTHON
Implement the following with try...except: 1) Assign a variable to the filename infile.txt. 2) Remove the file, infile.txt from the current working directory. 3) Prompt "Complete" if the file can be removed. Otherwise, prompt "Incomplete". Just make sure to precisely match the output format below. Write your code in the ANSWER area provided below (must include comments if using code is not covered in the course)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
