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 trialFaisal Husseini
4,668 PointsI Don't know how to do this. could you please help me?
it keeps on string I need to add a string but i don't know were to add it.
require "sinatra"
get "/greet/:name" do
params[:name]
end
2 Answers
Zimri Leijen
11,835 PointsIn python you add strings together with a +
"Hello" + "World" will give you "Hello World"
Hope that helps.
Faisal Husseini
4,668 PointsThanks anyway
Faisal Husseini
4,668 PointsFaisal Husseini
4,668 PointsZimri Leijen this is ruby not python
Zimri Leijen
11,835 PointsZimri Leijen
11,835 PointsSorry, however, the point still stands.
Python and Ruby are very similar, and in this case, they behave the same way.