A ternary statement shortens the if/else to one line.