This is my code:
def greeter(name) return "Welcome" + " " + name end puts greeter("Emily") def by_three?(number) if number % 3 == 0 return true else return false end end puts by_three?(30)
This is my result:
This is the error I am getting:
Oops, try again. It looks like your greeter method prints to the console instead of using return.
I don't know what it means? Can someone explain this to me. Thank you in advance.