🧮 PS
코드업 (Code up) 1071 ~ 1077 (반복실행구조) 파이썬 풀이
Newmon
2020. 2. 2. 18:33
문제 링크 : https://codeup.kr/problemsetsol.php?psid=23
문제집 / 기초 100제
codeup.kr
*1071
a = list(map(int,input().split()))
for i in a :
if i == 0:
exit()
else: print(i)
*1072
n = int(input())
a = list(map(int,input().split()))
for i in a :
print(i)
*1073
a = list(map(int,input().split()))
for i in a :
if i == 0:
exit()
else: print(i)
*1074
n = int(input())
for i in range(n):
print(n-i)
*1075
n = int(input())
for i in range(n):
print(n-i-1)
*1076
n = ord(input())
a=97
while(n+1>a) :
print(chr(a), end=" ")
a+=1
*1077
a = int(input())
n=0
while (a+1!=n):
print(n)
n+=1
*C++/CPP풀이도 code up 카테고리에 있습니다.