Python 3.4 - Dictionary Calculations

You can get certain values and keys and information from dictionaries in different ways. 

http://buildingskills.itmaybeahack.com/book/python-2.6/html/p02/p02c05_maps.html

kitties = {'Lizzy': 7, 'stretch': 8, 'bronte': 9}


min_age = min(zip(kitties.values(), kitties.keys()))

print(min_age)

https://www.youtube.com/watch?v=E1GueQ5ULc8

Comments

Popular posts from this blog

Pyhton 3.4 - Continue

Conversations Ongoing: Valuing Modernization in Early European History

Conversations Ongoing: A Bunch of Amateurs