I have an employee txt file. It looks like this:
Number / Name / Qualifications /
007 / Tim / Diploma in Business
005 / Tom / IT project management
006 / Marry / Business Admin
008 / Larry / IT Support
Ill open the text file first: text_file = open ("employee.t xt, "r")
The user will enter the employee number and python will read first line and display name and qualifications for the given employee number.
How do I allow the user to input the employee number and display back name and qualifications?
Any help would be appreciated!
Number / Name / Qualifications /
007 / Tim / Diploma in Business
005 / Tom / IT project management
006 / Marry / Business Admin
008 / Larry / IT Support
Ill open the text file first: text_file = open ("employee.t xt, "r")
The user will enter the employee number and python will read first line and display name and qualifications for the given employee number.
How do I allow the user to input the employee number and display back name and qualifications?
Any help would be appreciated!
Comment