in

Which one are you?

Which one are you? | regex-memes | ProgrammerHumor.io
regex-memes | ProgrammerHumor.io

Content

2 KINDS OF PEOPLE if (input (). lower () in ‘y’, ‘yes’1): if(input() upper() in ‘Y’, ‘VES’1): For efficiency we can use this simple regex: r"yes Yes yEs yeS YEs YeS yES y Y YES YeahYEah YEAh YEAH YEaH YeAH YeAh Yea HyeahyEah yEAh yEAH yEaH yeAH yeAh " There is another