목록CodeUp (56)
Note
[codeup] 91. 빛 섞어 색 만들기
r, g, b = map(int, input().split()) for i in range(r): for j in range(g): for k in range(b): print(i, j, k) print(r*g*b)
etc/Coding Test
2021. 12. 21. 17:55
[codeup] 90. 3 6 9 게임의 왕이 되자
n = int(input()) for i in range(1, n+1) : if i%10 == 3 or i%10 == 6 or i%10 == 9: print("X", end=" ") else: print(i, end=" ")
etc/Coding Test
2021. 12. 20. 16:15
[codeup] 89. 16진수 구구단 출력하기
word = input() n = int(word,16) for i in range(1,16): print('%X'%n, '*%X'%i, '=%X'%(n*i), sep='')
etc/Coding Test
2021. 12. 19. 19:10
[codeup] 88. 주사위 2개 던지기
n,m = map(int, input().split()) for i in range(1, n+1) : for j in range(1, m+1) : print(i, j)
etc/Coding Test
2021. 12. 18. 01:45