Python Dictionaries are similar to key and value arrays, in that you specify the key name along with a value.


person = {'Name': 'Katie', 'email': 'katie@myemailaddress.com', 'Age': '25'};
 
print "person['Name']: ", person['Name'];

print "person['Age']: ", person['Age'];

print "person['Email']: ", person['Email'];


Categorized in: