0

For example i am given this string as an input: "HeLlo" How can i make this case insensitive for later uses? I want it to be equal to "hello" or "HELLo" etc...

svmszcck
  • 1
  • 3
  • 5

1 Answers1

1

You have the "your string".upper() or "your string".lower() functions, which will allow you to compare the strings, assuring the comparison is case insensitive.

thomas
  • 1,133
  • 1
  • 12
  • 31