Created
May 1, 2021 18:20
-
-
Save JuniorMSG/c73cbfe357a620780fc22cc4af5ae593 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** | |
* 구구단 출력 | |
***/ | |
def Q_2739(): | |
dan = int(input()) | |
for i in range(1, 10): | |
print(dan, "*", i, "=", dan*i) | |
/*** | |
* 자연수 N이 주어졌을 때, N부터 1까지 한 줄에 하나씩 출력하는 프로그램을 작성하시오. | |
***/ | |
def Q_2742_02(): | |
n = int(input()) | |
print("\n".join(map(str, range(n, 0, -1)))) | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment