input: Write a python function to perform an action based on a condition using a ternary operator.
  assert action_based_on_condition(True)=="do_this"
  assert action_based_on_condition(False)=="do_that"
  assert action_based_on_condition(1==1)=="do_this"
  assert action_based_on_condition(2<1)=="do_that"
output: def action_based_on_condition(condition):
      return "do_this" if condition else "do_that"