Commit 58d2cc08 by BellCodeEditor

save project

parent 4b2e26e6
Showing with 9 additions and 10 deletions
import turtle
screen=turtle.Screen()
len=screen.textinput("233","大小")
jsize=int(len)
pen=turtle.Pen()
for i in range(4):
pen.forward(jsize)
pen.left(90)
turtle.done()
\ No newline at end of file
username = "python"
userpassword = "123456"
x=input("请输入账号:")
y=input("请输入密码:")
if x==username and y==userpassword:
print("密码正确")
else:
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