1. 문제
https://programmers.co.kr/learn/courses/30/lessons/12918
2. 풀이
def solution(s):
if (len(s) == 4 or len(s) == 6) and s.isdigit():
return True
return False
PREVIOUS[프로그래머스] 최고의 집합 _ 문제 풀이
https://programmers.co.kr/learn/courses/30/lessons/12918
def solution(s):
if (len(s) == 4 or len(s) == 6) and s.isdigit():
return True
return False