my aim is to run the while loop until the user inputs a option that is in my list. If they do the while loop should end.
exchangeCurrency = input("what currency would you like to convert to: ").upper()
myList = ["USD", "ERU", "BRL", "JPY", "TRY"]
while exchangeCurrency != myList:
print("this is not a valid inpit")
continue
else:
break