Lecture 36 challenge

Here is what wrote in my code and congratulated myself for my ninja skill :smiley:. Ignore the comments since I have them out of place. I actually got it to increment correctly:

Hope everyone is having a great day.

Edit: fixed my commenting

Can I ask why your else statement is “intentionally left blank”?

Hi @Gerald_Regan I really didn’t need to add the else statement but I remember in the video saying that putting the else statement is good practice so I just added it in. I changed my code to match the video however so this code isn’t there anymore. Thanks for replying. Have a great day.

Privacy & Terms