Commit 9d8a1d39 by BellCodeEditor

auto save

parent bf0cabee
Showing with 50 additions and 6 deletions
username="我zheng帅"
usepassword="00111100171211001"
while True:
if i>0
a = input("期数认证好")
b=input("期数认mima")
i-=1
if a==username and b==usepassword:
print("盗垒成功")
break
print("登录失败")
if username!=a:
print("账号错误")
continue
if usepassword!=b:
prmeint("密码错误")
else:
print("锁定")
exit()
print("欢迎")
import turtle import turtle
import turtle import turtle
s=turtle.Screen() s=turtle.Screen()
s.bgcolor("light blue") s.bgcolor("light blue")
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("悟空",font=("Times",18,"normal")) pen.write("悟空",font=("Times",18,"normal"))
pen.hideturtle() pen.hideturtle()
pen1=turtle.Pen() pen1=turtle.Pen()
Pen1.penclor("red")
pen1.pensize(5) pen1.pensize(5)
pen1.left("red")
len=s.textinput("提示","你想要多大的爱心")
lovesize=int(len)
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(lovesize*2)
pen1.circle(50,180)
pen1.circle(lovesize,180)
pen1.right(90) pen1.right(90)
pen1.circle(50,180) pen1.circle(lovesize,180)
pen1.forward(100)
pen1.pforward(2*lovesize)
pen1.hideturtle()
turtle.done() turtle.done()
\ No newline at end of file
import turtle
screen=turtle.Screen()
screen.textinput("姓名框""你的名字是:")
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