728x90
반응형
단순 수학 문제이다.
for _ in range(int(input())):
n = int(input())
print(f"{n} is odd" if n%2 else f"{n} is even")
728x90
반응형
'Agorithm > 백준 알고리즘' 카테고리의 다른 글
백준 알고리즘 10409번 서버(python) (0) | 2021.02.19 |
---|---|
백준 알고리즘 10539번 수빈이와 수열(python) (0) | 2021.02.19 |
백준 알고리즘 10474번 분수좋아해?(python) (0) | 2021.02.19 |
백준 알고리즘 8713번 Znak działania(python) (0) | 2021.02.19 |
백준 알고리즘 8558번 Silnia(python) (0) | 2021.02.19 |