iOS Swift Basics Swift Operators Working With Operators: Part 2

Bea Santos
Bea Santos
iOS Development with Swift Techdegree Student 427 Points

I'm not getting it...

help please!

operators.swift
// Enter your code below

var initialScore = 8
initialScore += 1

let 10 = false 
let anythingElse = !10
true != 10  
var isWinner = 9 

1 Answer

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 44,784 Points

You are still working with initialScore and checking whether it is not equal to ten. If so then isWinner equals true.