IN PYTHON In your Week 12 Lecture 2 Notes, you will see an…

Question Answered step-by-step IN PYTHON In your Week 12 Lecture 2 Notes, you will see an… IN PYTHONIn your Week 12 Lecture 2 Notes, you will see an illustration/description of a file format where each record in the file has 5 fields. Make a program that can read the contents of such a file (with any number of records), and store all of the records in a single data structure. The program should then present a menu of options to the user. The user should be able to select one of the following three actions to take: (assume the data file is named data.txt)1) Display the average number of hours earned.2) Display the average, correctly weighted GPA.3) Display the major of a student with a specified Last name.This should result in 5 different Python programs.Be sure to follow a good programming style.Be sure to include appropriate program comments.Be sure to use appropriate nomenclature and naming conventions. Computer Science Engineering & Technology Python Programming COSC 1336-018 Share QuestionEmailCopy link Comments (0)

Leave a Comment

Your email address will not be published. Required fields are marked *