diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-11-09 20:19:38 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-11-09 20:19:38 +0800 |
| commit | 01a84bc0d8625d3c03bff8270889bf4083b4ee6f (patch) | |
| tree | 927af0b8675d4532c42f043ae1bb0de204d0e043 | |
| parent | 6b683aa528f7d8c98f476370ed05989601b95dee (diff) | |
name change
| -rw-r--r-- | rockpaperscissors.py (renamed from rockPaperSissor.py) | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rockPaperSissor.py b/rockpaperscissors.py index fe2d6e5..b647a86 100644 --- a/rockPaperSissor.py +++ b/rockpaperscissors.py @@ -31,3 +31,11 @@ match mode: print(f"player win!") else: print(f"bot win!") + + +from stdlib import * +from random import randint + +def initAnswer() -> int: + return randint(1, 3) + |
