There is a bit of code that I need to implement for the program I am writing (my first ever code project, not too great with programing yet) and my comparison with a users input and an array is not working. It is meant to check that the users input choice is present in the array and adding the input to a variable, but it keeps printing "Player not on this team, try again".
while first_bowl == False:
bowler = input("Who is bowling first?: ")
if bowler == Team1:
first_bowl = True
print('first bowler is {bowler}')
elif bowler != Team1:
print("Player not on this team, try again")
Any help would be great!