Commit 421c3481 by BellCodeEditor

save project

parent 66875fe1
Showing with 7 additions and 3 deletions
......@@ -11,5 +11,9 @@ for i in range(5):
pen.end_fill()
turtle.done()
'''
s=input("请玩家出拳:")
print("玩家出拳为"+s)
\ No newline at end of file
import random
s=input("请玩家出拳(石头,剪刀,布):")
print("玩家出拳为"+s)
list11=["石头","剪刀","布"]
cll=random.choice(list11)
print("电脑出拳为"+cll)
\ 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