Forums
Learn
Careers
Store
About
SUBSCRIBE
TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>
Question 1/12: This code is valid Swift – true or false?
Hint: Swift won't let you mix different data types. Click to show.
let yourScore = 20 var highScore = 15 if yourScore >= highScore { print("You got the high score!") }
Correct! This code is valid Swift.
Oops – that's not correct. This code is valid Swift.
Return to Review Menu
You are not logged in
Link copied to your pasteboard.