p[ython if then inline code example Example 1: implicit if python x = a if b else 0 Example 2: if condition in print statement python x = (a if b else 0)