[위클리 챌린지] 5주차_모음사전

나며기·2021년 10월 4일
0

programmers

목록 보기
66/111
post-thumbnail
from itertools import product

def solution(word):
    return sorted(set([''.join(i).replace(' ','') for i in product(*[' AEIOU']*5)])).index(word)
profile
PLUS ULTRA

0개의 댓글