ShaneWang @ 2024-09-30 17:38:05
a = input() a1 = a.split(',') for i in a1: st = [0, 0, 0] i1 = False i2 = True if 6 <= len(i) <= 12: for j in i: if int(ord('a')) < int(ord(j)) < int(ord('z')): st[0] = 1 elif int(ord('A')) < int(ord(j)) < int(ord('Z')): st[1] = 1 elif int(ord('0')) < int(ord(j)) < int(ord('9')): st[2] = 1 elif j in '!@#$': i1 = True else: i2 = False if sum(st) > 1 and i1 and i2: print(i)
by bsdsdb @ 2024-09-30 17:40:49
@ShaneWang 希望更丰富的展现?使用 Markdown、KaTeX。