call item from dictionary python

Solutions on MaxInterview for call item from dictionary python by the best coders in the world

showing results for - "call item from dictionary python"
Martin
18 Aug 2017
1#!/usr/bin/python
2
3dict = {'Name': 'Zara', 'Age': 7, 'Class': 'First'}
4print "dict['Name']: ", dict['Name']
5print "dict['Age']: ", dict['Age']