Building AI

Good day colleagues

I have a challenge on the above heading exercise 1. The program written in Python is apparently missing an “if” condition statement. I cannot seem to find where exactly is this condition supposed to be inserted and I am as a result not getting the desired output.


Can anyone please help? I am new to python.

Regards

Phuti