Commit 67aa427d by BellCodeEditor

auto save

parent 721fd976
Showing with 17 additions and 0 deletions
username = "python"
userpassword = "123456"
name = input("请输入用户名:")
password = input("请输入密码:")
if name == username and password == userpassword:
print("登录成功!")
\ No newline at end of file
def kk():
x=input("今天星期几")
if x=="星期一":
print("今天学钢琴")
elif x=="星期二" or x=="星期四" or x=="星期五" or x=="星期六" or x=="星期日" :
print("今天学国学")
else:
print("今天学编程")
kk()
\ 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