Brute Force3 [프로그래머스] 모음 사전 | 파이썬 Solution:from itertools import product, combinationsdef solution(word): list_al=['A', 'E', 'I', 'O', 'U'] all_al=[] for i in range(1,5+1): a=list(product(list_al,repeat=i)) for k in a: new_1=''.join(k) all_al.append(new_1) all_al.sort() for index, kk in enumerate(all_al): if word==kk: answer=index break r.. 2025. 5. 26. [프로그래머스] LV2 카펫 | 파이썬 https://medium.com/@k62570/%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%98%EB%A8%B8%EC%8A%A4-lv2-%EC%B9%B4%ED%8E%AB-%ED%8C%8C%EC%9D%B4%EC%8D%AC-6f385ac4f656 [프로그래머스] LV2 카펫 | 파이썬After Age 40, You Need to Stop Doing These Morning Habits — That Speed Up Aging Your Morning Routine Making You Age Faster?medium.com 2025. 5. 12. [프로그래머스] LV2 소수 찾기 | 파이썬 https://medium.com/@k62570/%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%98%EB%A8%B8%EC%8A%A4-lv2-%EC%86%8C%EC%88%98-%EC%B0%BE%EA%B8%B0-%ED%8C%8C%EC%9D%B4%EC%8D%AC-59776527af4c [프로그래머스] LV2 소수 찾기 | 파이썬“[프로그래머스] LV2 소수 찾기 | 파이썬” is published by Taein Yong.medium.com 2025. 5. 12. 이전 1 다음