8/19 Help with my Code


#1

Why does my code only display true to the console and doesn't display hello Jay ?

def greeter (name)
return 'hello ' + name + '.'
end

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

greeter('Jay')
by_three?(18)


#2

Use 'print' instead. :smile: