본문 바로가기
알고리즘/프로그래머스

[프로그래머스] 자연수 뒤집어 배열로 만들기 - 풀이2 (python)

by 김홍중 2021. 5. 9.
def solution(n):
    return list(map(int, reversed(str(n))))

댓글