Commit 62611cc0 by BellCodeEditor

auto save

parent f0973875
Showing with 9 additions and 3 deletions
......@@ -6,5 +6,11 @@
# pen.right(144)
# pen.forward(150)
# turtle.done()
player=input("请出拳:石头/剪刀/布")
print("玩家出拳:"+player)
\ No newline at end of file
# player=input("请出拳:石头/剪刀/布")
# print("玩家出:"+player)
import random
a=input("请输入:石头,剪刀,布")
print("玩家出"+a)
b=["石头","剪刀","布"]
c=random.choice(b)
print("电脑出: "+c)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment