etc/Coding Test
[codeup] 124. 홀수와 짝수 그리고 더하기
Jun's N
2022. 1. 23. 02:51
a,b = map(int, input().split())
if a%2 == 1:
if b%2 == 1:
print('홀수+홀수=짝수')
else:
print('홀수+짝수=홀수')
else:
if b%2 == 0:
print('짝수+짝수=짝수')
else:
print('짝수+홀수=홀수')
728x90