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

hree different stocks were ordered. The purchase prices were 8 ⅜ dollars, 12 ⅛ dollars and 15 ⅜ dollars.how much was paid for all three stocks?
According to the map in 1860 Kentucky and Missouri were both
Who is Gandhi? What was the Salt March?
3 ways how you as a child would deal with the negative impact of a divorce
Two boxes are shaped as right rectangular prisms. The larger box is has a length of 24 cm, a width of 10 cm, and a height of 30 cm. The dimensions of the smalle
What number represents the same amount as 3 hundreds +4 tens +16 ones?
What is 12x12? Thank you
A change in the genetic material of a cell is called
how do I write 6000000000 in scientific notation?
Eight times a number is -96. Find the number