a = 10 if a < 5: a = 5
a = 10 if a > 5: a = 12
a = 10 if a < 5: a += 12 else: a -= 7
a = 10 if a < 15: a += 12 else: a -= 7
a = 10 if a < 5: a += 12 else: a -= 7 if a < 5: a += 12 else: a -= 7
a = 10; if a > 5: a += 12 else: a -= 7 if a > 5: a += 12 else: a -= 7
a = 10 b = 3 if a > b: b += 12 else: a -= 7 if a > b: a += 12 else: a -= 7