Code runs both if statements

Hi Kyle,

Welcome to our community! :slight_smile:

; marks the end of a command, even if it’s an “empty” command. Take a close look at your code and make sure the code blocks are defined correctly. Remember you can also look at the lecture code changes via the link in the Resources of each lecture.

Did this help?


See also: