From befea7f0d4b32420426cc2904a07218707ceb335 Mon Sep 17 00:00:00 2001 From: COUVIDOUX Gwendal Date: Tue, 14 Oct 2025 18:13:34 +0200 Subject: [PATCH] =?UTF-8?q?Probl=C3=A8me=20de=20papier=20qui=20gagne=20con?= =?UTF-8?q?tre=20iseaux=20et=20ciseaux=20qui=20gagne=20contre=20pierre?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rock_paper_scissor_game.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rock_paper_scissor_game.py b/rock_paper_scissor_game.py index 04afed9..828fa78 100644 --- a/rock_paper_scissor_game.py +++ b/rock_paper_scissor_game.py @@ -17,11 +17,11 @@ 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 - elif user_move == "paper" and computer_move == "scissors": - print("YOU WIN!! You're not bad..") + elif user_move == "paper" and computer_move == "scissors": # problème lié aux règles du jeu de base + print("YOU LOSE!! You're bad..") return elif user_move == "paper" and computer_move == "rock": - print("YOU LOSE!! You're bad..") + print("YOU WIN!! You're not bad..") return elif user_move == "rock" and computer_move == "scissors": print("YOU WIN!! You're not bad..")