"if" statement

Can someone help explain why I keep getting a syntax error at 'fi?" Code looks correct?

Hi there. Can you please provide your full code and error message; as opposed to a picture of your code? While it is nice to see a screenshot and know an error is happening, it’s a bit more challenging to do something about what the full details.

Regardless, my best guess is that you have an uppercase “THEN” instead of a lowercase “then”. Keywords are always case sensitive in programming languages.

Yep. I actually went back and rewrote it and it worked fine! So I think that was it. Thank you!