Commit f8339873 by BellCodeEditor

save project

parent 5ad46362
Showing with 16 additions and 14 deletions
if player in list: import turtle
if player==z: pen=turtle.Pen()
print("平局") pen.pensize(10)
elif player=="石头"and z=="剪刀": pen.pencolor("red")
print("恭喜,你赢了") pen.left(45)
elif player=="剪刀"and z=="布" pen.forward(100)
print("恭喜,你赢了) pen.circle(50,180)
elif player==""and z=="石头": pen.right(90)
print("恭喜你,你赢了") pen.circle(50,180)
else: pen.forward(100)
print("很遗憾,你输了") turtle.done()
else:
print("输入错误 ")
\ 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