The Question: Write 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.
No matter what I type in for this problem I still get the same output for everything. My original problem is below I have also played with the range to see if I would get a different result. I put in range (2,40) for the range and still ended up with the same answer I have also added the output below. No matter what I put in I still get the same answer.
Question 11 is similar to question 10 it is fill in the blank and whatever I put in for that part is always wrong as well. Maybe if I could get help on Question 10 it would help with Question 11.