print(True) if '' else raise Exception('err')

参考演算子の中でraiseって使えないのですか?