# You can nest if/else to get the same effect as elif but it's hard to read and not recommended msg = "Hi " + ("there" if not name else ("Neo" if name == "Anderson" else name))