Fire4276 Fire4276
  • 01-01-2021
  • Computers and Technology
contestada

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

Respuesta :

IfeanyiEze8899 IfeanyiEze8899
  • 04-01-2021

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.

Answer Link

Otras preguntas

A shop in the mall is 5 yards by 16 yards. How much would it cost to recarpet the shop with carpet that costs $1.26 per square yard?
Using a complete sentence, explain what the point (1, 2) means. Remember to look at the units!! the graph below will help you
What does the y-intercept of the line represent? A total time spent running B. average time to run one lap Caverage time spent running to the school track D. a
A bakery used 30% more butter this month than last month. If the bakery used 250 pounds of butter last month, how much did it use this month
Carbohydrates are made from
is this a proper sentence If i was faster,i would have won the race?
Work out the size of an interior angle of a regular nine sided figure.​
What does blue balls mean
how effective do you find the predictable ,parallel structure of the poem in communicating a message about human nature?support your response with exampled frlm
What does blue balls mean