Algorithm/프로그래머스
[Python] 홀짝 구분하기
chocoji
2023. 11. 15. 20:04
문제
https://school.programmers.co.kr/learn/courses/30/lessons/181944
Code
n = int(input())
if n % 2 == 0:
print(f"{n} is even")
else:
print(f"{n} is odd")