Commit cbfa1d4f by BellCodeEditor

save project

parent 24bef8bc
Showing with 10 additions and 18 deletions
i=3
userpassword="123456"
username="python"
while True:
if i>0:
a=input("请输入账号")
b=input("请输入密码")
i=i-1
if a==username and b==userpassword:
print("登录成功")
if a!=username:
print("账号错误")
print("")
if b!=userpassword:
print("错误")
else:
print("")
\ No newline at end of file
import turtle
pen=turtle.pen()
a=1
for i in range(300):
pen.forward(a)
a=a+1
pen.right(91)
pen.hideturtle()
pen.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