def total_hp_getAvgDamage(a, b, dmg_total): return a if total_hp.avgDamage(dmg_total) is not None else b
def total_hp_avgDamage(header, dmg_total): return "%s%s" % (header, total_hp.avgDamage(dmg_total)) if total_hp.avgDamage(dmg_total) is not None else ''
def total_hp_avgDamage(header, dmg_total): _avgDamage = total_hp.avgDamage(dmg_total) return "%s%s" % (header, _avgDamage) if _avgDamage is not None else None
def total_hp_avgDamage(header, dmg_total): return "%s%s" % (header, total_hp.avgDamage(dmg_total) ) if total_hp.avgDamage(dmg_total) is not None else ''