采纳答案成功!
向帮助你的同学说点啥吧!感谢那些助人为乐的人
account = 'qiyue’ password = ‘123456’
print(‘请输入用户名’) user_account = input() print(‘请输入密码’) user_password = input()
if user_account == ‘qiyue’ and user_password == ‘123456’: print(‘success’) else: print (‘fail’)
account = 'qiyue' password = 123456 user_account = input('请输入用户名:') user_password = int(input('请输入密码:')) if user_account == 'qiyue' and user_password == 123456: print('success') else: print ('fail')
登录后可查看更多问答,登录/注册
语法精讲/配套练习+思考题/原生爬虫实战
5.7k 7
2.5k 3
2.2k 5
4.2k 22
2.3k 19