Question: Using python. 1. Filename: assign3-1.py Use input() function to ask the users to input the courses and professors in this semester, until the user inputs

Using python. Using python. 1. Filename: assign3-1.py Use input() function to ask the users

1. Filename: assign3-1.py Use input() function to ask the users to input the courses and professors in this semester, until the user inputs "done" as an end. Pu the courses and the professor names into two separate tuples. Combine the two tuples into one tuple as shown below(coursename followed by the profname format). Also, if there is a "Web Dev" course name in the merge tuple, change it to "Web Development" name. See the sample below for more information H:\>python C:\Users aslsabbaghpourhokma\Documents\IT2431\Module3\assign3-1.py Please enter the courses you are taking in this semester: Intro to IT Please enter the professor's name for the course: Thackston Please enter the courses you are taking in this semester: Web Dev Please enter the professor's name for the course: Hawkins Please enter the courses you are taking in this semester: Python II Please enter the professor's name for the course: Asi Please enter the courses you are taking in this semester: Intro to Cyber Please enter the professor's name for the course: Rasnick Please enter the courses you are taking in this semester: done The courses tuple is ("Intro to IT', 'Web Dev', 'Python II', 'Intro to Cyber) The professors tuple is ('Thackston', 'Hawkins', 'Asl', 'Rasnick") Merged tuples with updated names: ("Intro to IT', 'Thackston', 'Web Development', 'Hawkins', "Python II', 'Asl', 'Intro to Cyber', 'Rasnick")

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!