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 trialnick stone
33 Pointswhat am I sposed to do
what am I sposed to do
1 Answer
Damien Watson
27,419 PointsHey Nick,
I haven't done any Swift as yet, but the question says something like :
Create a variable called greeting with the text "Hello', so try...
var greeting = "Hello"
'var' creates a variable, 'let' creates a constant. Cheers. :)
Vittorio Somaschini
33,371 PointsVittorio Somaschini
33,371 PointsCorrect.
This would work also without ";" at the end as Swift does not require it.
Vittorio
Damien Watson
27,419 PointsDamien Watson
27,419 PointsCool, thanks.