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

what’s is the length of a triangle when two sides are 10.4cm and has an angle of 120
How many twelfths equal three-fourths?
7) Remus earns $.15 per unit for the work he does. For all units he produces in a week, over 1,000, he receives $.20. What were his weekly earnings if he produc
10. How many amino acids will result from the translation of the mRNA sequence AUG-CUG-GAG-CUC-UAG?
5p + 10= 2p + 1P + 40
Which of the following reactions would be an example of a single replacement reaction? options: A. C2H4 + 3O2 --> 2CO2 + 2H2O B. H2O + SO3 --> H2
What is the product of the preparatory reaction
What is 2x2+2 equal to
The experiment step of the scientific method is testing the prediction. O True O False
Can 10 9 8 lengths form a triangle