Welcome to the Treehouse Community
Looking to learn something new?
Help me with the correct solution, I don't understand what's wrong?
what's wrong with: isWinner: Boolean = initialScore != 10 ?
// Enter your code below var initialScore = 8 initialScore += 1 var isWinner: Boolean = initialScore != 10
Jason AndersTreehouse Moderator 145,624 Points
You've almost got it. There are just a couple things that need fixing.
The challenge asks you to create a
isWinner, but you have created a variable. Remember, constants are declared using
While technically not incorrect, the challenge is complaining because you are assigning a type to the
isWinnerconstant. Just delete that part and everything will pass.
Keep Coding! :)