# Concatenates string variables a and b with ' - ' or Coalesces them if one is None '-'.join([x for x in (a,b) if x])