ternary conditions

learned how to use it to set values to variables