Explore Westonci.ca, the top Q&A platform where your questions are answered by professionals and enthusiasts alike. Explore comprehensive solutions to your questions from knowledgeable professionals across various fields on our platform. Experience the convenience of finding accurate answers to your questions from knowledgeable experts on our 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.