Discover the answers you need at Westonci.ca, where experts provide clear and concise information on various topics. Get the answers you need quickly and accurately from a dedicated community of experts on our Q&A platform. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

write a program that creates a dictionry containing course numbers and the room numbers of the rooms whhere the courses meet

Sagot :

Answer:

course_class = {'CS101' : '3004', 'CS102' : '4501', 'CS103' : '6755',  'NT110' : '1244', 'CM241' : '1411'}

Explanation:

A dictionary is a data structure in python that is unordered and unindexed. It stores data in key-values pairs with each pair separated by a comma and all the items enclosed with curly braces. It is also assigned to a variable name.

The dict() function can also be used to create a dictionary variable.