This walkthrough of greet-dict.py teaches how to use a dictionary to store customized greetings, how to convert a string to lower case to make lookups easier, and how to see if a key is in the dictionary using in.
One of My Best Classes Ever
10 years ago