Practice Makes Perfect - Method not defining


Oops, try again. Did you define your by_three? method?

I seem to be following the code correctly, but it's not defining my method. What am I doing wrong? Feels obvious, but I'm missing it.

def greeter (name)
    return "Welcome {#name}"

def by_three? (number)
    if by_three? % 3 == 0
        return true
        return false


Does this look correct?


No. No it does not.

Thanks :slight_smile:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.