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 trial

iOS Swift Basics An Introduction to Swift Programming Working With Variables

How to do this

How do you do the second part of this?

// Enter your code below
var language = "Swift"

var = "Objective C"

2 Answers

Ryan Searle
Ryan Searle
10,605 Points

You've declared language as a variable so you just need to give that variable a new value like this

var language = "Swift"
language = "Objective-C"
Randell Purington
Randell Purington
9,992 Points

Hello, You are close,

the first one is correct, but for the second you are missing a small part. var language = "Swift" var Swift = "Objective-C"