코딩테스트/Python

[프로그래머스/Python] 짝수와 홀수

짐니♡ 2025. 9. 22. 20:39

def solution(num):
    
    if num % 2 == 0:
        return "Even"
    else:
        return "Odd"