Python-equivalent of short-form “if” in C++ [duplicate] December 2, 2022 by Tarik a="123" if b else '456'