Question: File names and extensions. Write a program that prompts the user for the drive letter (C), the path (WindowsSystem), the file name (Readme), and the
File names and extensions. Write a program that prompts the user for the drive letter (C), the path (\Windows\System), the file name (Readme), and the extension (txt). Then print the complete file name C:\Windows\System\Readme.txt. (If you use UNIX or a Macintosh, skip the drive name and use / instead of \ to separate directories.)
Step by Step Solution
3.38 Rating (173 Votes )
There are 3 Steps involved in it
Here is a Python program that will request the drive letter path file name and extension from the us... View full answer
Get step-by-step solutions from verified subject matter experts
