the variable is set to false inside my method, once the method runs it should change to True. But it does not

前端 未结 0 703
臣服心动
臣服心动 2021-01-16 10:00

def checkPassword (password):

upper = False
lower = False
number = False
special = False

for i in range (len(password)):
    if ((ord(password[i]) >= 65)          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题