= [3, 5, 7, 9.5, 10, 10.5, 11]
sizes if 10 in sizes:
print('Sizes include size 10')
Sizes include size 10
True
if the left operand matches the value of some element in a containerSizes include size 10
It can also be used to check whether a substring is part of a larger string: