Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use input() function to ask the users to input the courses and professors in this semester, until the users input done as an end. Put
Use input() function to ask the users to input the courses and professors in this semester, until the users input "done" as an end. Put the courses and the professor names into two separate and print out these lists as follows (don't print lists literally). Then print out the following statements using for loop in each list. Please note there are no newlines in the first statement, while there are ' > ' symbols in the second statement. You cannot print the statements literally Please enter the courses you are taking in this semester: Python II Please enter the professor's name for the course: Hao Zhang Please enter the courses you are taking in this semester: Data Analytics Please enter the professor's name for the course: Cheryl Aasheim Please enter the courses you are taking in this semester: IT issues Please enter the professor's name for the course: Jeff Kaleta Please enter the courses you are taking in this semester: done The list for courses is ['Python II', ''Data Analytics', 'IT issues'] The list for professors is ['Hao Zhang', 'Chery1 Aasheim', ''Jeff Kaleta'] The courses you are taking in this semester are: Python II, Data Analytics, IT issues, The professors for these courses are: Hao Zhang > ' Cheryl Aasheim > Jeff Kaleta
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started