Page not loading? Try clicking here.
Placeholder

#9265
Language restricted

반복제어문1 - 자가진단 2-4 1s 32MB

Problems

정수 N을 입력받아 -10에서 정수 N까지의 수를 모두 출력하는 프로그램을 작성하시오.


Input

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


Output

첫 줄에 -10에서 정수 N까지의 수를 모두 출력한다.


Example

5
-10 -9 ... 4 5

Source

자기주도 파이썬 4판

You must sign in to write code.