Hello everyone, first time posting here. I'm basically a little bit confused in this task.
This is my current code:
return 'Hello' *name
n % 3 == 0
by_three 3 greeting world
The by_three def works just fine as I have run that code and it always returns true or false. I cannot seem to get the greeting def to work regardless of which combination things I try. The error that returns is either "Undefined local variable world" or "Exepecting tINTERGER, cannot convert string to interger.
I keep getting frustrated with these tutorials, I know they are vague so that you have to work things out for yourself, but for someone with no wider knowledge of coding to draw upon it's almost impossible. Most of the stages are doable but then every 1 out of 5 I'm suddenly asked something that is impossible to work out, even with going back to previous codes to have a look. The only way through those ones is to find answers on the forums. I really try to read through the code to understand why it works and why it doesn't but it's often impossible to understand why something works or doesn't.