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

fort ciprian
fort ciprian
1,234 Points

im new please help

first time programing

variables.swift
// language
var name  = "language" 


var  str = "swift"
str 
Willem Ostn
Willem Ostn
992 Points

Hello fort ciprian You have misunderstood the question in the challenge. They are asking to make a variable called "language" with string called "Swift" Instead you have made 2 variables called "name" and "str" with strings "language" and "swift"

This should clarify what you have to do

1 Answer

Bruce Röttgers
Bruce Röttgers
18,211 Points

It wants you to change the language variable to "Objective-C":

// Enter your code below
var language = "Swift"
language = "Objective-C"