[coding test] Programmers_level 1_키패드 누르기
▶ Programmers_level 1_키패드 누르기 - 프로그래머스: programmers - 코딩 및 결과: github JeongJaeyoung0/coding_test 코딩테스트. Contribute to JeongJaeyoung0/coding_test development by creating an account on GitHub. github.com def solution(numbers, hand): answer = '' l_hand ,r_hand = 10, 12 # 왼손, 오른손 시작 위치 for i in numbers: # 키패드 누를 값 for문 if i in [1, 4, 7]: # 1, 4, 7은 왼손 answer += "L" l_hand = i # 왼손 위치 elif i in [3, 6..
2021.06.18