Commit 5f8c1d96 by BellCodeEditor

save project

parent c816b9b8
Showing with 64 additions and 0 deletions
import turtle
screen = turtle.screen()
screen.bgcolor("green")
Pen = turtle.Pen()
Pen.penup()
Pen.goto(100,-100)
Pen.write("佩哥是脑瘫",font=("Times,20,"normal"))
Pen.hideturtle()
Pen1=turtle.Pen()
Pen1.pennsize
Pen1.
Pen1.
username = "python"
userpassword = "123456789"
while True:
name = input("请输入你的账号:")
password = input("请输入你的密码:")
if name == username and password == userpassword:
print("登陆成功")
break
if name != username:
print("用户名输入错误请重新输入")
if password != userpassword:
print("密码输入错误!请重新输入")
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