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 good example of suggesting an alternative activity effectively if a person is asking you to do something that makes you uncomfortable would be: “I don’t want
What is 55 of %80 percent
Please help me Simplify: ∛54a^4
Name two cell structures found in plant cells but not in animal cells, and describe their functions.
24 POINTS URGENT PLEASE HELP!! !!!!! Choose one of the secondary conflicts below. Using evidence from the text, explain how the secondary conflict you chose is
Need help please asap
Eva makes a few dozen cupcakes and sells them for $8 a dozen. Which function represents the relationship between the money Eva earns, m, and the number of dozen
Which list shows the numbers in order from least to greatest? 1.38, 137 , 1.4
what period of history refers to the time when people did not leave written records?
Multiply. Express your answer as a simple fraction or improper fraction. What is 5 ×·2/3 as a fraction?