# Gives True/False if a string is in a list. input = 'hello' result = input in ['greetings', 'and', 'hello', 'sir'] print(result)