Note

[codeup] 119. 홀수 짝수 구별 본문

etc/Coding Test

[codeup] 119. 홀수 짝수 구별

알 수 없는 사용자 2022. 1. 18. 20:00
728x90
n = int(input())
if n%2 == 1 :
  print('odd')
elif n%2 == 0 :
  print("even")

'etc > Coding Test' 카테고리의 다른 글

[codeup] 121. 특별한 공 던지기 2  (0) 2022.01.20
[codeup] 120. 특별한 공 던지기 1  (0) 2022.01.19
[codeup] 118. 7의 배수  (0) 2022.01.17
[codeup] 117. 큰 수 - 작은 수  (0) 2022.01.16
[codeup] 116. 10보다 작은 수  (0) 2022.01.15
Comments