728x90
1. Problem: https://py.checkio.org/en/mission/acceptable-password-ii/
2. My solution
def is_acceptable_password(password: str) -> bool:
# your code here
if len(password) < 6: return False
else:
if True in [ x.isnumeric() for x in list(password)]: return True
else: return False
728x90
'프로그래밍 문제 > [Python] CheckIO' 카테고리의 다른 글
[CheckIO/Electronic Station] Acceptable Password V (0) | 2024.04.07 |
---|---|
[CheckIO/Electronic Station] Acceptable Password IV (0) | 2024.04.07 |
[CheckIO/Electronic Station] digits-multiplication (0) | 2024.04.07 |
[CheckIO/Scientific-Expedition] Secret Message (0) | 2024.04.07 |
[CheckIO/Scientific Expedition] striped words (0) | 2024.03.24 |
댓글