how to check if a string is inside a list python code example Example: if string is in array python if item in my_list: # whatever