- 1
"This program needs to take the key as input and output the correct."
Please help this problem.This program is car data in dictionary.
1 Resposta
+ 1
If you relearn the python course you would easily be able to do this.
Let's say you have a dictionary like
car = {'b':'bmw', 'm':'mercedes'}
inp = input()
print(car[inp])