def equal_assert(x, y, true_message, fail_message):
try:
assert x == y
print(true_message)
except AssertionError:
print(fail_message)
def equal_if(x, y, true_message, fail_message):
if x == y:
print(true_message)
else:
print(fail_message)