Categories
How to pass multiple values to message.text.lower()?
if message.text.lower() == 'UAH': I need to add hryvnia if message.text.lower() == 'UAH', 'UAH', : Doesn't work
Answer the question
In order to leave comments, you need to log in
if any(c == message.text.lower() for c in ['UAH', 'UAH']): print(f"{message.text.lower()}")
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question