링크 : https://codeup.kr/problem.php?id=1902
정수 n부터 1까지 출력하는 재귀함수를 설계하시오.
이 문제는 반복문 for, while 등을 이용하여 풀수 없습니다.
def func(x): if x == 0: return 0 print(x) return func(x-1) func(int(input()))