Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialRino Tumbarello
512 PointsI want website to be the string Treehouse. Fill in the blank to finish the variable for me please.. website = ?
I tryed a lot of times, but not resolve this questions.
I tryed: website = 'Treehouse' website = Treehouse website = "Treehouse" website = <<-STRING Treehouse STRING website = #{treehouse}
2 Answers
Oliver Duncan
16,642 Pointswebsite = "Treehouse"
def show(string)
return string
end
show(website) # returns "Treehouse"
Jennifer Nordell
Treehouse TeacherHi there! Well one of your answers was correct: "Treehouse"
. Note that you do not have to enter the website =
part as they have already done that for you and that the capitalization much match exactly. Hope this helps!