题目不难步骤很长😹。挠头

while True:
    try:
        a  = str(input())
        l = [0,0,0,0,0]
        if len(a)>=8:
            l[0] = 25
        elif 5<=len(a)<=7:
            l[0] = 10
        else:
            l[0] = 5
        s = [0,0]
        for i in a:
            if i.isupper():
                s[1]+=1
            elif i.islower():
                s[0]+=1
        if s[0] ==0 and s[1]==0:
            l[1] = 0
        elif s[0]==0 or s[1]==0:
            l[1]=10
        elif s[0]!=0 and s[1]!=0:
            l[1] = 20
        else:
            raise('wrong in letter judge')
        dig = 0
        for i in a:
            if i.isdigit():
                dig+=1
        if dig ==0:
            l[2] = 0
        elif dig ==1:
            l[2] =10
        else:
            l[2] = 20
        symbol = "!~@#$%^&*(){}|=+[]:;<>/?,."
        sym = 0
        for i in a:
            if i in symbol:
                sym+=1
        if sym ==0:
            l[3] = 0
        elif sym ==1:
            l[3] =10
        else:
            l[3] = 25
        if s[0]!=0 and s[1]!=0 and dig!=0 and sym!=0:
            l[4] = 5
        elif dig!=0 and sym!=0 and (s[0]!=0 or s[1]!=0):
            l[4] = 3
        elif dig!=0 and (s[0]!=0 or s[1]!=0):
            l[4] = 2
        else:
            l[4] =0
        score = int(sum(l))
        if score >= 90:
            print('VERY_SECURE')
        elif score >=80:
            print('SECURE')
        elif score >=70:
            print('VERY_STRONG')
        elif score >=60:
            print('STRONG')
        elif score >=50:
            print('AVERAGE')
        elif score >=25:
            print('WEAK')
        elif score >=0:
            print('VERY_WEAK')
        else:
            print(l)
#         print(l)
    except:
        break