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

30-[(9x2)-(3x4)] numerical expression ;)
0.001 in Standard form
What is the name of the period that has the digits 913,256.
Being rejected by a peer group can negatively influence one's self-esteem.
Two equations are shown: Equation 1: (x –12) =12 Equation 2: y – 12 = 12 Solve each equation
Soccer is the most popular sport in the United States.
1.666667 as a fraction
Why do you think Columbus saw only the coastal area of Mesoamerica? Please help. Thanks.
Which words are used as nouns in this sentence? Choose all answers that are correct. Lobsters can pinch the skin with their claws. a. pinch b. their c. skin d
Trisha graphed the relationship between yards and feet, with yards along the x-axis and feet along the y-axis. The relationship is proportional. Which statement