Question: Write a Python program (named Lab7_4.py) to ask user to input a record information of a course class, and handle this record accordingly. Write

Write a Python program (named Lab7_4.py) to ask user to input a record information of a course class, and

Write a Python program (named Lab7_4.py) to ask user to input a record information of a course class, and handle this record accordingly. Write a main () function: O Ask user to input a record of course class containing 3 strings, as "courseCode", "courseName", "classCode". Represent this record with a list of strings, by directly creating a list of this 3 string elements, as the format: ["courseCode", "courseName", "classCode"] Represent and display this record with one-string, by creating a string representing the whole record from the list above in the format: "courseCode, courseName, classCode" 0 ["courseCode", "courseName", "classCode"] @ 0 O O "courseCode, courseName, classCode" Represent and display the record with a list of strings, by creating a list of string back from one string format above O "courseCode, courseName, classCode" ["courseCode", "courseName", "classCode"] Important: call the main () at the end of the program to start execution. Sample Program Output CCIT4020 Laboratory 7: Section 4 Please enter the course code: CCIT4030 Please enter the course title: Signal and Communication Please enter the class number: CLO3 Record displayed in string: < CCIT4030, Signal and Communication, CL03 > Record displayed in a list of strings: ['CCIT4030", 'Signal and Communication', 'CLO3']

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The image contains a text question which asks to write a Python program named Lab74py The program is ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!