Commit 90bd5621 by BellCodeEditor

save project

parent 648896ce
Showing with 9 additions and 5 deletions
......@@ -12,4 +12,4 @@ for i in range(5):
pen.right(144)
pen.end_fill()
turtle.done()
player=input("")
\ No newline at end of file
player=input("请出拳")
\ No newline at end of file
player=input("请出拳(石头、剪刀、布):")
player("请玩家出拳"+player)
\ No newline at end of file
import random
w=["石头","剪刀","布"]
d=random.choice(w)
player=input("请出拳(石头/剪刀/布):")
print("请玩家出拳"+player)
print(d)
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