Methods, Blocks, & Sorting. 3 Create Your Own


#1

Define your method below!

def greeter(name)
return "greeting" + name
end

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

Define your method above this line.

greeting # Ignore this for now. We'll explain
# it in the next exercise!


#2

What's the purpose of the post? Please explain what you're looking for


#3

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