IN python, Write a program that creates a dictionary containing course numbers and the room numbers where the courses meet. The dictionary should contain the following key:value pairs.
Course Number (key) | Room Number (value) |
---|---|
CS101 | 3004 |
CS102 | 4501 |
CS103 | 6755 |
NT110 | 1244 |
CM241 | 1411 |
The program should also create a dictionary containing course
numbers and the names of the instructors that teach each course.
The dictionary should have the following key:value pairs.
Course Number (key) | Instructor (value) |
---|---|
CS101 | Haynes |
CS102 | Alvarado |
CS103 | Rich |
NT110 | Burke |
CM241 | Lee |
The program should also create a dictionary containing course
numbers and the meeting times of each course. The dictionary should
have the following key:value pairs.
Course Number (key) | Time (value) |
---|---|
CS101 | 8:00 am |
CS102 | 9:00 am |
CS103 | 10:00 am |
NT110 | 11:00 am |
CM241 | 1:00 pm |
dict1={'CS101':3004, 'CS102':4501, 'CS103':6755,
'NT110':1244, 'CM241':1411 }
dict2={'CS101':'Haynes', 'CS102':'Alvarado', 'CS103':'Rich',
'NT110':'Burke', 'CM241':'Lee' }
dict3={'CS101':'8:00 am', 'CS102':'9:00 am', 'CS103':'10:00 am',
'NT110':'11:00 am', 'CM241':'1:00 pm' }
print("Coursed Number(key) ------------ Room
number(value)")
for i,j in dict1.items():
print(i,' ',j)
print()
print("Coursed Number(key) ------------
Instructor(value)")
for i,j in dict2.items():
print(i,' ',j)
print()
print("Coursed Number(key) ------------
Time(Value)")
for i,j in dict3.items():
print(i,' ',j)
IN python, Write a program that creates a dictionary containing course numbers and the room numbers...
Phyton prog COMPLETE. Problem 1: Write a program that creates a directory containing course numbers and the room numbers of the rooms where the courses meet. The dictionary should have the following key-value pairs: Course Number (key) Room Number (value) CS101 3004 CS102 4501 CS103 6755 NT110 1244 CM241 1411 The program should also create a dictionary containing course numbers and the names of the instructors that teach each course. The dictionary should have the following key-value pairs: Course Number...
Python Language Only!!!! Python Language Only!!!! Python Language Only!!!! Python 3 is used. Write a program that creates a dictionary named rooms containing course numbers and the room numbers of the rooms where the courses meet. The dictionary should have the following key-value pairs: Course Number (Key) Room Number (Value) CS101 3004 CS102 4501 CS103 6755 NT110 1244 CM241 1411 The program should also create a dictionary named instructors containing course numbers and the names of the instructors that teach...
Python Language Only!!!! Python Language Only!!!! Python Language Only!!!! Python 3 is used. Write a program that creates a dictionary named rooms containing course numbers and the room numbers of the rooms where the courses meet. The dictionary should have the following key-value pairs: Course Number (Key) Room Number (Value) CS101 3004 CS102 4501 CS103 6755 NT110 1244 CM241 1411 The program should also create a dictionary named instructors containing course numbers and the names of the instructors that teach...
Using Python. Please help! The output should looks like below. Please follow the emphasis. I think it just prompt user to input course name. Write a modular program that creates a dictionary containing course numbers and the room numbers of the rooms where the courses meet. The dictionary should have the following key- value pairs: Course Number (key) Room Number (value) CS101 3004 CS102 4501 CS103 6755 NT110 1244 CM241 1411 The program should also create a dictionary containing course...
Python program This assignment requires you to write a single large program. I have broken it into two parts below as a suggestion for how to approach writing the code. Please turn in one program file. Sentiment Analysis is a Big Data problem which seeks to determine the general attitude of a writer given some text they have written. For instance, we would like to have a program that could look at the text "The film was a breath of...
python program do not use dictionary, list only Complete the program found in assignment4.py. You may not change any provided code. You may only complete the sections labeled: #YOUR CODE HERE Write a program that does the following. Reads the contents of Text from the include file, input.txt Create a dictionary of key-value pairs called index.txt Key: This represents the individual word Value: This is a list of the line number from Text where Key appeared Example: If the word...