Commit ddd2e25f by BellCodeEditor

save project

parent bc8f5f20
Showing with 34 additions and 3 deletions
i=5
username = "python"
userpassword = "123456"
while True:
if i>0
name = input("请输入用户名:")
password = input("请输入密码:")
if-=1
if name == username and password == userpassword:
print("登录成功!")
break
elif name != username:
print("用户名错误,请重新输入!")
else:
password != userpassword:
print("密码输入有误,请重新输入!")
else:
print("想解锁就去公安局吧")
print("欢迎来到贝尔编程!")
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
pen.write("诺伊,一起学习python吧!",font=("Times",100,"normal"))
turtle.done()
\ No newline at end of file
pen.write("诺伊,一起学习python吧!",font=("Times",100,"normal")
pen1=turtle.pen()
pen1.pensize(5)
pen1.pencolor("red")
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
right(90)
pen1.circle(50,180)
pen1.forward(100)
pen.hideturtle()
turtle.down()
\ No newline at end of file
++ "b/\344\277\204\351\223\235\345\210\206\351\241\265\343\200\202com"
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