Question
Enter a code that will test if player 'A' for team A or 'B' for team B was entered
Call the procedure display_player( , ) with the relevant variables
Enter the code that request the user to enter the positon
My failes answer is:
def diplay_player(team, position):
team = print raw_input("Which team is the player: ")
position = print raw_input("which position: ")
if team == "A":
print "The player is in team A and in position", position;
else:
print "The player is in team B and in position", position;
return;
diplay_player(team, position);