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

Am i correct on number 39 and 40
During the early part of the labor movement, immigrants, women, and African Americans
$4.30 makeup; 40% discount; 6% tax
Which country is responsible for the largest share of U.S. exports
What appeared on earth first? neanderthals, homo habilis, homo sapiens, australopithecines
What law best explains why we would expect 75% of the offspring to have large teeth
Which country is the Slipperiest?
Convert the proportion fraction401/2*32/3
In which two ways do extras function in a drama? A.They speak the majority of the dialogue and can be static, dynamic, or well-defined. B.They generally deliver
Religious freedom was a motivating factor for some colonists who immigrated to the colonies of