Mega Code Archive

 
Categories / Python Tutorial / Dictionary
 

Dictionary Keys Are Case-Sensitive

d = {}  d["key"] = "value"  d["key"] = "other value" print d  d["Key"] = "third value" [2]  print d