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


#1

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

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

welcome("Erica")

#2

Nothing is being outputed.

puts welcome('Erica')

#3

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


#4

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