People.get('e', 0) tells python to search for The main element 'e' inside the dictionary. If it isn't really found it returns 0. Due to the fact this is the first time 'e' is passed throughout the loop, the character 'e' isn't present in the dictionary still, Hence the get strategy https://jasperixhsc.blogdal.com/37659277/an-unbiased-view-of-find-weed-in-southampton