Commit 01c9ccd7 by BellCodeEditor

auto save

parent 52a31152
Showing with 10 additions and 24 deletions
i=3
a = "1"
b = "2"
while True :
if i>0:
c = input("账号:")
d = input("密码:")
i-=1
if a==c and b==d:
print("输入正确")
break
if a != c:
print("没有这个账号")
print("你还有",str(i),"机会")
continue
if b !=d:
print("密码错误")
print("你还有",str(i),"机会")
continue
else:
print("次数为零")
exit()
print("欢迎来到对抗路")
\ No newline at end of file
date=input("今天星期几:")
if date == "星期三"
print("今天学编程")
elif date == "星期一":
print("今天学国画")
elif date == "星期五":
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