Page not loading? Try clicking here.
Placeholder

#9666
Language restricted

함수3 - 자가진단 2-2 1s 32MB

Problems

재귀함수를 이용하여 N부터 1까지의 정수를 차례대로 출력 예와 같이 출력하는 프로그램을 작성하시오.


Input

첫 줄에 정수 N이 주어진다. (1 \le N \le 50)


Example

3
function #3
function #2
function #1



Source

자기주도 파이썬 4판

You must sign in to write code.