还未发布过话题
  • 为什么照着文章中的操作,显示 403 错误呢?

  • #!/usr/bin/env python
    # encoding: utf-8
    password=input('请输入密码:')
    b_hold=1
    b_wait=2
    b_total=b_hold+b_wait
    str1=['azc','dwf','gti','jql','mon','pkr','shu','vex','yb']
    p_len=len(password)
    p_total=p_len
    time1=b_hold
    while (p_len-1):
        flag=0
        for i in str1:
            if (password[p_total-p_len] in i) and (password[p_total-p_len+1] in i):
                flag=1
                break
        if flag:
            time1 += b_total
        else:
            time1+=b_hold
        p_len-=1
    print(time1)