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

Use the properties of logarithms to expand the following expression.log(z3)/√x5y)Each logarithm should involve only one variable and should not have any radical
To be an effective manager, which of the following is one of the four basic management functions that a manager must be able to perform? A. Interviewing B. Co
What major invention led to the cell theory?
Observe that as Hrothgar begins to speak about Grendel in lines 207-210, the mood becomes bleak and despairing. What repeated sounds does the poet use to sugges
A location to which you compare other locations is a
If 2 is subtracted from a number, the result is 4
what is u = kx + ух, for x
what is the length of the line
Pls tell me about the coastal plains region.
Otzi's stomach was finally located in 2009 after a CT scan found the location. true or false ​