python的流程控制学习

 _username= 'haozheyu'
_password= ''
username = input("请输入用户:")
password = input("请输入密码:")
if _username == username and _password == password :
print ("你输入对了")
else :
print("用户或密码错误 "
"invalid username or password")

text第一版

age_of_laochuanzhang = 56
age = int(input("请输入你的年龄:"))
if age_of_laochuanzhang == age :
print("yes, you got it.")
elif age_of_laochuanzhang > age:
print("think smaller...")
else:
print("think bigger!")

text第二版

上一篇:SQL Server作业报错特殊案例


下一篇:SQL练习题-50道SQL练习题及答案与详细分析