def solution(pw):
has_lower = has_upper = has_digit = False
for ch in pw:
if 'a' <= ch <= 'z':
has_lower = True
if 'A' <= ch <= 'Z':
has_upper = True
if '0' <= ch <= '9':
has_digit = True
if has_lower and has_upper and has_digit:
return True
return False
pw = "Abc123"
ret = solution(pw)
print("solution 함수의 반환 값은", ret, "입니다.")
To embed this project on your website, copy the following code and paste it into your website's HTML: