From d948a7491e04a0a46be1b4e3f0370e6f5b9601a1 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 11 Apr 2021 10:26:29 +0800 Subject: [PATCH] save project --- o.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 o.py diff --git a/o.py b/o.py new file mode 100644 index 0000000..063a882 --- /dev/null +++ b/o.py @@ -0,0 +1,10 @@ +import random +pleyer=input("你出") +s=["剪刀","布","石头"] +computer=random.choice(s) +print(computer) +if (pleyer=="剪刀" and computer=="布") or (pleyer=="布" and computer=="石头") or (pleyer=="石头" and computer=="剪刀"): + print("你赢了^_^") +else: + print("你没赢*_*") + \ No newline at end of file -- libgit2 0.25.0