How can I make .count case insensitive here?
How about you turn the string to lowercase for example?
txt = "Hello my FRIENDS"
x = txt.lower()
print(x) # expected: hello my friends
1 Like
How about you turn the string to lowercase for example?
txt = "Hello my FRIENDS"
x = txt.lower()
print(x) # expected: hello my friends