Exercise 3


#1

Hi there, can someone help me out?
I'm doing exercise 3, that tells me to create my own method, which I did, but it prints only nil and asks "Oops, try again. It looks like you didn't print anything to the console."
And my code is the following:

def greeting
puts "Surprise Motherfucker!"
end

thanks!


#2

Hi in this execise there is a greeting wrote on line 9 you shouln'd remove it .. if you removed it ..write it and your code will works.


#3

Thanks a lot, that solved the issue!