how to check if something is in an array python code example Example: if string is in array python if item in my_list: # whatever