for j in range(2, len(string)):
if string[j-2] == '6' and string[j-1] == '6' and string[j] == '6':
이부분을
if string.find("666") != -1: 로 고쳐서 해결했습니다
1436번 - 영화감독 숌
for j in range(2, len(string)):
if string[j-2] == '6' and string[j-1] == '6' and string[j] == '6':
이부분을
if string.find("666") != -1: 로 고쳐서 해결했습니다
댓글을 작성하려면 로그인해야 합니다.
qkrwnstns52 3년 전
어디를 잘못생각하고있는건가요????