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

antoine winzenried
antoine winzenried
812 Points

Challenge question working with operators

I'm stuck on the working with operators 2 challenge. This code works on xcode but it's not the right answer? What am i doing wrong?

var initialScore = 8

initialScore += 1

let isWinnern = initialScore != 10

isWinnern

I like this programme but my BIGGEST complaint about it is not being able to see corrections to the challenges. Having to make a thread to get some answers is too time consuming.

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! While you haven't linked the challenge, I feel fairly sure the variable should be isWinner but you have isWinnern. Note the extra "n" on the variable name at the end of your variant.

Hope this helps, but let me know if you're still stuck! :sparkles:

antoine winzenried
antoine winzenried
812 Points

WOW I feel so dumb! thank you so much!!!! <3