Commit 4079e592 by BellCodeEditor

save project

parent 5887ac63
Showing with 11 additions and 20 deletions
import random
playr=input("请出拳:石/剪/布")
asdw=["石","剪","布"]
asdw1=random.choice(asdw)
if playr in asdw:
print("玩家出拳"+playr)
print(asdw1)
if (playr=="石"and asdw1=="剪") or( playr=="剪"and asdw1=="布") or( playr== "布" and asdw1=="石"):
print("555你赢了")
elif playr==asdw1:
print("平局")
else:
print("hhh你输了")
else:
print(写错了)
\ No newline at end of file
import turtle
pen=turtle.Pen()
x=1
for i in range(100000000):
pen.forward(x)
pen.right(91)
x+=1
pen.hideturtle()
turtle.done
\ 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