Commit a9ed84b6 by BellCodeEditor

save project

parent cf0ea7c8
Showing with 10 additions and 8 deletions
import turtle
if player==computer: screen=turtle.Screen()
print("平局") screen.bgcolor("light green")
elif (player=="石头"and computer=="剪刀"and computer=="剪刀"and computer=="布")or (player=="布"and computer=="石头"): len=screen.textinput("100","100")
print("恭喜你,你赢了") len=int(len)
else pen=turtle.pen()
print("很遗憾,你输了") pen.write("你好!傻の哦",font=("Times",20,"normal"))
\ No newline at end of file pen.hideturtlel()
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