Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 383 Bytes

File metadata and controls

20 lines (17 loc) · 383 Bytes

코드

def solution(word):
    answer = 0
    
    alpha=['','A','E','I','O','U']
    result=set()
    for i in alpha:
        for j in alpha:
            for k in alpha:
                for l in alpha:
                    for m in alpha:
                        result.add(i+j+k+l+m)
    l=list(result)
    l.sort()
    answer=l.index(word)
    
    return answer