← Back to List

26531번: Simple Sum ↗

Solutions

Python 3
119 B | 119 chars
a, b = input().split(" + ")
b, c = b.split(" = ")

if int(a) + int(b) == int(c):
    print("YES")
else:
    print("NO")