i am just trying to find out a word noone in a string whether it is in lower case or upper case or mixed.
This is the code:
post= "hi noone bro"
a = "noone"
print(a in post)
If I replace noone with noOne it shows False. How can I fix it?
i am just trying to find out a word noone in a string whether it is in lower case or upper case or mixed.
This is the code:
post= "hi noone bro"
a = "noone"
print(a in post)
If I replace noone with noOne it shows False. How can I fix it?