(Jan-26-2020, 05:32 PM)buran Wrote: assign the input to a name (variable)Thanks for reply. In this way?
use that name as argument in the dict.get() method
dictionary = {"brand": "Ford","model": "Mustang","year": 1964} x=input("") dictionary.get(x)If I run it nothing happen
Damn, I’m an idiot. I forgot print ahahahaha. Now it runs, thanks @buran