17/19 Methods With Arguments - passes, but blank console

This code passes the lesson but the console is blank. Am I missing something obvious?

def welcome(name)
	return "Hello, #{name}"
end

welcome("Erica")

Nothing is being outputed.

puts welcome('Erica')

Yeah, I was lying in bed last night and thought “oh, duh, that has to be why.”
Thank you! :laughing:

1 Like

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