python 全站开发 (课) 作业,编写登陆接口,输入用户名,密码 ,登录成功显示欢迎信息,失败3次锁定

_   *    _    coding:  utf -8  _* _

use/bin/evn/python

import  getpass

s < 3

username = inpot("username:")

password =getpass.getpass("password:")

  print(username ,password)

 -username =  "ales"

_password = "sb123"

for  i  in  range(3(

  if -username =  "username,and "password = ="password":

  print(huanyingnin"

  break

  elif:

  print(buyaozaishil.sb)

猜你喜欢

转载自www.cnblogs.com/asdccc/p/9131638.html