Il faut ien mettre après un return snon ca ne sera pas excecute
This commit is contained in:
@@ -15,8 +15,8 @@ def check_choice_validity(move: str) -> str:
|
||||
|
||||
def check_winner(user_move: str, computer_move: str):
|
||||
if user_move == computer_move :
|
||||
print("IT'S A TIE!! You're both bad..") #print avant le return
|
||||
return
|
||||
print("IT'S A TIE!! You're both bad..")
|
||||
elif user_move == "paper" and computer_move == "scissors":
|
||||
print("YOU WIN!! You're not bad..")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user