if keyword test if number = colon print('even number'else upper middle print('that was fun!' the first line of the test looks very similar to the while syntax we have already seen in this casehoweverit uses new keyword"ifthe if keyword is followed by the testa python expression that evaluates to boolean the line ends with colon