[Python] 프로그래머스 - Level1 - 문자열 다루기 기본

강주형·2022년 8월 12일
0

https://school.programmers.co.kr/learn/courses/30/lessons/12918

연습문제

def solution(s):
    return (len(s) == 4 or len(s) == 6) and s.isdigit()
profile
Statistics & Data Science

0개의 댓글