diff --git a/diy1.py b/diy1.py new file mode 100644 index 0000000..4784f81 --- /dev/null +++ b/diy1.py @@ -0,0 +1,7 @@ +import random +# 玩家出拳 +sb=input("请搓鸡") +print("玩家出:"+sb) +sb2=["剪刀","石头","布"] +sb3=random choice(sb2) +print("出拳"+sb) \ No newline at end of file