Commit 8f5199ab by BellCodeEditor

save project

parent 874fff37
Showing with 7 additions and 3 deletions
...@@ -9,5 +9,9 @@ ...@@ -9,5 +9,9 @@
# pen.right(144) # pen.right(144)
# pen.end_fill() # pen.end_fill()
# turtle.done() # turtle.done()
player=input("你想出什么(石头/剪刀/布):") # player=input("你想出什么(石头/剪刀/布):")
print("玩家出拳:"+player) # print("玩家出拳:"+player)
\ No newline at end of file import random
lite=["石头","剪刀","布"]
robot=random.choice(lite)
print(robot)
\ 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