def sol(s):
answer='no'
if len(s)>=6 and len(s)<=9:
answer='yes'
return(answer)
n=int(input())
for i in range(n):
s=input()
print(sol(s))
https://www.acmicpc.net/problem/25372
문자열 길이 세는 문제입니다
Just calculate length of String
반응형
'python-algorithm' 카테고리의 다른 글
백준 25640 MBTI (0) | 2022.10.21 |
---|---|
백준 15000 CAPS (0) | 2022.10.21 |
백준 1026 보물 (0) | 2022.10.19 |
프로그래머스 짝수의 합 (0) | 2022.10.19 |
프로그래머스 두 수의 나눗셈 (0) | 2022.10.19 |
댓글