DocsKitalpha

Playground

Is pink in the list?

L = ['red', 'pink', 'blue']
if 'pink' in L:
print('yes')
else:
print('no')

Also works with lines:

SELECT *
FROM People
WHERE Age >= 18
AND Age < 65;

Something about the where clause.