[python] codeup 1261-1280
·
Code up/단순 반복문
#1261 : First Special Judge (Test) n = map(int, input().split()) n = list(n) b=0 for i in n: if i%5==0: print(i) break else: b+=1 if b==len(n): print(0) #1265 : 구구단 출력하기 1 n = int(input()) for i in range(1,10): print("%d*%d=%d"%(n,i,i*n)) #1266 : n개의 수의 합 n = int(input()) a = list(map(int, input().split())) result = 0 for i in range(len(a)): result += a[i] print(result) #1267 : n개의 수 중 5의 배수의 합 ..