Main function to play the game.
()
| 38 | |
| 39 | |
| 40 | def main(): |
| 41 | """Main function to play the game.""" |
| 42 | for i in range(1, 4): |
| 43 | print(f"round -> {i}\n") |
| 44 | user_choice = get_user_choice() |
| 45 | computer_choice = get_computer_choice() |
| 46 | print(f"Computer chose: {computer_choice}") |
| 47 | |
| 48 | print(f"Final result : {decide_winner(user_choice, computer_choice)}") |
| 49 | |
| 50 | |
| 51 | if __name__ == "__main__": |
no test coverage detected