#1 print("") print("Let's play a Rock-Paper-Scissors Game...") print("To left the game, just send exit or e") print("") while True: #2 player = input('Rock Paper Scissors? ') #3 player = optimizeChoice(player) #4 #5 if player == 'exit': break #6 if not validateInput(player): print('Your choice is not valid!!!!!') continue #7 computer = generateComputerChoince() print(f"I choiced {computer}") #8 winner = getWinner(player, computer); #9 if winner == WINNER_PLAYER: print("Congratulation... You Win!!!!!") elif winner == WINNER_COMPUTER: print("Sorry... You lost!!!!!") elif winner == WINNER_TIE: print("Ops... That's a Tie!!!!!") else: print("Erro 404 Winner NOT Found!!!!") #10 print("") print("Let's play again...") print("") #11 print('Bye... See ya later!!!!!')