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

What are composite numbers in 50?
(MC)Which group was founded to prevent African Americans from exercising their civil rights? A. the Whig Party B. the Ku Klux Klan C. the Populist Party D.
What are organs made of??
How do u make 3/4 in a mix number as a whole number or decimal?
Which words in the sentence make up the verb phrase? Stephanie and Jason will march in the parade next week. A. next week B. will march C. Stephanie and
simplify the expression 3x^2(x^2-4x-2)+(5x^3+7x^2+2x+11)
You are debating about whether to buy a new computer for $800.00 or a refurbished computer with the same equipment for $640.00. If you are paid $10.00/hour and
How can an author give the reader more information about a character? A.By withholding important information about the character B.By explaining the character'
What is9.0298392*38392.93939
How Should the biological name of the giant water bug be written in binomial