<filename>Warmup-1/makes10.py
# Given 2 ints, a and b, return True if one if them is 10 or if their sum is 10.
#
# makes10(9, 10) → True
# makes10(9, 9) → False
# makes10(1, 9) → True

def makes10(a, b):
    return ((a + b == 10) or (a == 10) or (b == 10));

<filename>Warmup-1/makes10.py
# Given 2 ints, a and b, return True if one if them is 10 or if their sum is 10.
#
# makes10(9, 10) → True
# makes10(9, 9) → False
# makes10(1, 9) → True

def makes10(a, b):
    return ((a + b == 10) or (a == 10) or (b == 10));

# Given 2 ints, a and b, return True if one if them is 10 or if their sum is 10. # # makes10(9, 10) → True # makes10(9, 9) → False # makes10(1, 9) → True