You can translate user input to lowercase using Python’s built-in “lower” string function.
Read moreHow do I make Python not case sensitive?
lower() to ignore case. Call str. lower() to lowercase all characters in a string . Use this when comparing two strings to ignore case.
Read more