Programming/프로그래머스

[프로그래머스] 자연수 뒤집어 배열로 만들기

pental 2020. 10. 11. 19:52

def solution(n):
    return list(map(int, reversed(str(n))))

map에 대해서 자세히 공부하자

저작자표시 비영리 (새창열림)