Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write Python program that creates a dictionary containing course numbers and the

ID: 3538612 • Letter: W

Question

Write Python program that creates a dictionary containing course numbers and the room numbers where the courses meet.

*The dictionary should have the following key-value pairs: http://pastebin.com/pE47r5kY

*Then another dictionary with the following: http://pastebin.com/uaTiQP0Q

*Yet another dictionary with the following: http://pastebin.com/c8cvbLZv


The program should let the user enter a course number, and then it should display the course's room number, instructor, and meeting time.


Thanks in advance



Explanation / Answer

course_time={} course_time['CS101']='8:00 a.m.' course_time['CS102']='9:00 a.m.' course_time['CS103']='10:00 a.m.' course_time['NT110']='11:00 a.m.' course_time['CM241']='1:00 p.m.' course_ins={} course_ins['CS101']='Haynes' course_ins['CS102']='Alvarado' course_ins['CS103']='Rich' course_ins['NT110']='Burke' course_ins['CM241']='Lee' course_room={} course_room['CS101']='3004' course_room['CS102']='4501' course_room['CS103']='6755' course_room['NT110']='1244' course_room['CM241']='1411' n=raw_input("Enter course number:") n=n.upper() print("Room number for Course %s is %s" % (n, course_room[n])) print("Instructor for Course %s is %s" % (n, course_ins[n])) print("Meeting Time for Course %s is %s" % (n, course_time[n]))

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote