728x90
반응형

단순 사칙연산 문제이다.

S = int(input())
M = int(input())
L = int(input())
print("happy" if S*1 + M*2 + L*3 >= 10 else "sad")
728x90
반응형

+ Recent posts