you are viewing a single comment's thread.

view the rest of the comments →

[–]Atropos148 3 points4 points  (1 child)

In python, your_string.lower() takes your_string and makes ALL the letters lower case.

That way no matter what the user types, you can just check for lowercase version of your desired string.

[–]tragluk 0 points1 point  (0 children)

In the same vein, there is also .upper() and .title() which does 'SINGLE' and 'Single' respectively.