Commit 56bff746 by BellCodeEditor

save project

parent bded76d5
Showing with 20 additions and 3 deletions
from random import randint#导入随机randint()函数
from time import sleep #导入sleep()函数
#导入函数
i = 5
a = 0
username = ['1']
userpassword = [1]
while True:
if i>0:
name = input("请输入用户名:")
if name in username:
password = input("请输入密码:")
for username[a] == name:
a +=1
if userpassword[a] == password:
print("登陆成功")
\ No newline at end of file
""" """
...@@ -7,10 +7,9 @@ import turtle ...@@ -7,10 +7,9 @@ import turtle
pen = turtle.Pen() pen = turtle.Pen()
# 请创造师在下面接着创作 # 请创造师在下面接着创作
d = 1 d = 1
while d < 500: for d in range(1,500):
pen.forward(d) pen.forward(d)
pen.right(91) pen.right(91)
d +=1
# 隐藏画笔,保存画布 # 隐藏画笔,保存画布
pen.hideturtle() pen.hideturtle()
......
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