iOS Swift 3 Basics Swift Operators Working With Operators: Part 2

qifeng sun
qifeng sun
1,476 Points

Really don't know how to do this step

I always wanna use if loop

operators.swift
// Enter your code below

var initialScore = 8

initialScore += 1

let isWinner = 10

isWinner !=10

1 Answer

Jeff McDivitt
Jeff McDivitt
8,062 Points

You have the isWinner = 10 and that is not what the task asks for

var initialScore = 8

initialScore += 1

let isWinner = initialScore != 10