python contains tuple code example Example: how to check if an item is present in a tuple >>> 2 in (2, 3, 4) True