Commit d5cba06f by BellCodeEditor

save project

parent 91cf57d5
Showing with 11 additions and 6 deletions
import turtle
pen=turtle.Pen()
pen.write("hi,诺依,我\n收到了你的信",font=("Times",20,"normal"))
pen.hideturtle()
turtle.done()
\ No newline at end of file
username="python"
userpassword="123456"
while True:
name=input("用户名")
password=input("密码")
if name==username and password==userpassword:
print("登陆成功")
break
print("重新输入")
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