목록Note (462)
Note
[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
[codeup] 87. 짝수 합 구하기
n = int(input()) s = 0 for i in range(1, n+1) : if i%2==0 : s += i print(s)
etc/Coding Test
2021. 12. 17. 16:07