Commit 1596b8cb by BellCodeEditor

auto save

parent d4827e2d
Showing with 342 additions and 15 deletions
username="phtyon" # username="phtyon"
userpassword="123456" # userpassword="123456"
while True: # while True:
name = input("请输入账号:") # name = input("请输入账号:")
password = input("请输入密码:") # password = input("请输入密码:")
if name == username and uesrpassword == password # if name == username and uesrpassword == password:
print("登录成功") # print("登录成功")
break # break
if name!=username: # if name!=username:
print("用户名错误,请重新输入") # print("用户名错误,请重新输入")
if password!=userpassword : # if password!=userpassword :
print("用户密码错误,请重新输入") # print("用户密码错误,请重新输入")
print("登录失败") # print("登录失败")
print("欢迎来到贝尔编程") # print("欢迎来到贝尔编程")
\ No newline at end of file # a=input("")
# b=""
# l=num=len(a)
# for i in range(l):
# num=num-1
# b=b+a[num]
# print(b)
n,m=input().split(",")
n=int(n)
m=int(m)
for i in range(2,n+1):
while n%10==0 and m%10==0:
n=n//10
m=m//10
print(str(n)+"/"+str(m))
\ No newline at end of file
#sum = 0
#y = 0
#a = [1,3,5,7]
#for i in a:
# for j in a:
# for k in a:
# if i != j and j!= k and i != k:
# u = i * 100 + j * 10 + k
# y = y + u
# print(u)
# sum = sum + 1
#print(y)
#print(sum)
a=int
pen=turtle.()
for i in range(3):
pen.forward(200)
pen.right(144)
\ 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