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

1 What is one reason England established colonies in America? A England needed the extra land to solve their overcrowding problem. B England wanted a trade mon
A square has a perimeter of 52 yd. What is the length of each side?​
What is the best approach to prevent the spread of a bacterial infection?
HELP! What is the domain and range? What values is this function increasing? Which values are decreasing? Is this function continuous or discontinuous?
What is the area of the trapezoid? 5 km 4 km 13 km 9 km
PLEASE HELP WITH THIS ONE QUESTION
i need help plzzzzzzzz
. A line parallel to the x-axis could contain which of the following points?(5, 0)(-3, 2)(0, 1)(0, -8)(2, 9)(-1, 0)
please help 50 points
ANSWERS ASAP PLSSSJDHDJS