Characters.get('e', 0) tells python to look for The main element 'e' from the dictionary. If it's actually not uncovered it returns 0. Considering the fact that This is often the first time 'e' is passed with the loop, the character 'e' is just not located in the dictionary nevertheless, And https://martinjsmgz.uzblog.net/the-smart-trick-of-caribo-edibles-that-no-one-is-discussing-50016495