So as part of a program i need a line where if the input is not in a certain array the code wont carry on.
The best way to explain it is with a game of cards. You cant play a card that isnt in your hand(array) What would this look like in code form?
eg. if cardplayed (is not in) (myhand):
print("ect ect")