Jeśli stan w instrukcji drukowania Python

x = (a if b else 0)
Mysterious Mongoose