6. Practice makes perfect Functions What am I doing wrong?


#1

I set it so if (n) is divisible by 3, the text "divisible by three" would appear. That does not work. What am I doing wrong?


#2

Wait.... I think I have figured it out.....


#3

Why does

Why does it only work if I put the "print" in front of the "return"?


#4

A function immediately stops at the point where return is called
so, the moment you call return, it stops. It never gets to the print line, so the print line should come first


#5

A post was split to a new topic: 6 practice makes perfect need help