python how to get data from dictionary

Solutions on MaxInterview for python how to get data from dictionary by the best coders in the world

showing results for - "python how to get data from dictionary"
Keziah
22 Sep 2018
1teas = {
2	'english_breakfast': 104,
3	'matcha_green_tea': 26,
4	'green_tea': 29,
5	'decaf_english_breakfast': 51,
6	'assam': 48
7}
8
9matcha = teas.get('matcha_green_tea')
10
11print(matcha)