首页 新闻 会员 周边 捐助

Python 学习 Day1 作业

0
[待解决问题]

Python第一天作业

  • 用户登录
_username = ‘Jamdu’
_password = ‘asd12301230’

username == input(“UserName:”)
password == input(“PassWord:”)

count == 0
while  count < 3

      if  username == _username  and  password == _password:
            print(“Welcome user {name} login!!! ”.format(name = username))
      else:
              print(“Invlied username or password...”)
count +=1

else:
       print(“Sorry,you have tried too many!!!”)
风里来雨里去duu的主页 风里来雨里去duu | 菜鸟二级 | 园豆:202
提问于:2019-04-24 17:44
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册