Run »
myset = {0, 1, 0} x = any(myset) print(x) # Returns True because the second item is True
True