python3 get the arrat number in the if 'Test' in list: code example Example: how to check an array for a value in python s = set(a) if 7 in s: # do stuff