You can translate user input to lowercase using Python’s built-in “lower” string function.
Read moreAre Python dict keys case-sensitive?
A Python dictionary sub-class that is case-insensitive when searching , but also preserves the keys as inserted. when keys are listed, ie, via keys() or items() methods. pair as the key’s value (values become dictionaries).
Read moreIs Dict case-sensitive?
Dictionary Keys Are Case-Sensitive : Dictionary Key « Dictionary « Python.
Read more