Commit 7c8f109a by BellCodeEditor

save project

parent f51d025d
Showing with 8 additions and 1 deletions
import.turtle
pen=turtle.pen
pen.write("Times,50,normal") ,font=("Times,50,normal")
pen.hideturtle()
turtle.done()
\ No newline at end of file
......@@ -4,7 +4,8 @@ import random
sb=["石头","剪刀","布"]
asbf=random.choice(sb)
print("电脑的出拳:"+asbf)
if qaz in asbf:
if me in sb:
if me == asbf:
print("平局")
elif (me=="剪刀" and asbf=="布") or (me=="石头" and asbf=="剪刀") or (me=="布" and asbf=="石头"):
......
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