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 trialAli .
15,521 PointsAssign the string "Ruby" to a variable named language. Then assign the string "awesome" to a variable named description.
Assign the string "Ruby" to a variable named language. Then assign the string "awesome" to a variable named description. Then make a single call to puts and pass it two arguments: the language and description variables.
language = "Ruby"
description = "awesome"
puts language
puts description
4 Answers
Michael Hulet
47,913 PointsPay attention to what the challenge is asking you to do here. It wants you to make a single call to puts
, but you're making 2. You need to call puts
once, but pass both language
and description
as parameters to the single puts
call
Jayson Santos
Courses Plus Student 446 Pointsthis does not help me, I tried calling these answers but still getting the same error. Please help.
Thanks.
Michael Hulet
47,913 PointsPlease post a new question that includes the code you're using so someone can help you out
Garth Rautu
5,832 Pointslanguage = "Ruby" description = "awesome"
puts(language,description)
Matthew Williamson
5,783 Pointslanguage = "Ruby" description = "Awesome" puts(language,description)
Ali .
15,521 PointsAli .
15,521 PointsHi Michael,
Thanks for the reply.
I got it wrong with this message ( Bummer! Please call "puts" only once.). I don't know how to make once puts.
Thanks again.