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 is the greatest common factor of 117 & 351 And What is the greatest common factor of 35 & 149
15 liters increased by 60 percent
what is the expanded form of 0.78
How do you write .344 as a fraction in lowest terms
A car loses 15% of its original value each year. After one year a car has a value of 13,600. What is the original value of the car??
hairlike parts that spin to push a bacterium through water or other liquids are called _________________.
what is 43.586 rounded to the nearest tenth wit a number line
the perimeter of the top of a desk is 54 inches . if the length of the desk is 15 . what is the is the width of the desk
Software like Pinnacle Studio and Adobe Premiere Elements are used to create and edit Choose one answer. a. videos. b. animated graphics. c. audio files
Which document was designed by the forefathers to protect a U.S. citizen's unalienable individual rights? the Federalist Papers the Declaration of Independence