Westonci.ca is the Q&A platform that connects you with experts who provide accurate and detailed answers. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform.

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.