Write a program that asks the user for the name of a file


Write a Python program which satisfies the following requirements . Be sure and comment your code appropriately!

Line Numbers

Write a program that asks the user for the name of a file. The program should display the contents of the file with each line preceded with a line number followed by a colon. The line numbering should start at 1. For full credit, be sure and make use of exception handling in your program (e.g., catching the file not found situation).

Request for Solution File

Ask an Expert for Answer!!
Other Subject: Write a program that asks the user for the name of a file
Reference No:- TGS0607475

Expected delivery within 24 Hours