python how to check if a specific number is inside a list code example
Example: check if a number is in a list python
5 in [3, 4, 5, 6, 7]
# True
9 in [3, 4, 5, 6, 7]
# False
5 in [3, 4, 5, 6, 7]
# True
9 in [3, 4, 5, 6, 7]
# False