So, I’m in Launch Code’s Discovery module and we have this problem I can’t quite solve:

“Fill in this code for a program that loops through the numbers between 1 and 40. If a number is divisible by 3, print Hip. If the number is divisible by 7, print Hooray. Remember that there may be numbers that are divisible by both 3 and 7, so you’ll have to print both messages for those.”

This is what I have, but is wrong: