Commit 43c1d906 by BellCodeEditor

save project

parent 812b9b42
Showing with 26 additions and 6 deletions
player=input("请出拳打死我(石头,剪刀,布):")
input("玩家出拳"+player)
wangmou=["石头,剪刀,布"]
w=candow,choice(wangmou)
input("计算机出拳"+w)
\ No newline at end of file
import turtle
q=turtle.Pen()
q.pencolor("pink")
q.pensize(5)
s=turtle.Screen()
s.bgcolor("red")
l=s.textinput("病毒!!!!!!注意!!!!!!","电脑还有10秒自爆,请不要离开。输入数字会加快自爆速度,加油多输!!")
b=int(l)
q.up()
q.goto(-100,-100)
q.down()
q.left(45)
q.forward(2*b)
q.circle(b,180)
q.right(90)
q.circle(b,180)
q.forward(2*b)
q.hideturtle()
p=turtle.Pen()
p.up()
p.goto(100,-150)
p.down()
p.write("啦啦啦啦啦啦啦啦啦啦啦\n\n没有自爆\n\n你来打我啊",font=("Times",15,"normal"))
p.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