Python: Get Value from a Dictionary

4/9/2020 11:51:03 PM

Get the value of a specific key from a dictionary.


my_dict_object = {
			"first_name": "John",             
			"last_name": "Smith"             
             }
			 
first_name = my_dict_object.get("first_name")