I want to know how to make an if statement that executes a clause if a certain integer is in a list.
All the other answers I've seen ask for a specific condition like prime numbers, duplicates, etc. and I could not glean the solution to my problem from the others.