Programming in Swift: Fundamentals
Oct 19 2021 · Swift 5.5, iOS 15, Xcode 13
Part 1: Core Concepts
04. Challenge: Booleans
Leave a rating/review
Notes: 04. Challenge: Booleans
Update Notes: The student materials have been reviewed and are updated as of October 2021.
Heads up... You've reached locked video content where the transcript will be shown astext.
It’s time for your first challenge! You can find the challenge in the “Challenge - Booleans” page of the playground you’ve been using, or you can download a new one from the resources for this video. If you open it up…
let myAge = 42
let isVotingAge = myAge >= 18
let student = "Chris Belanger" let author = "Matt Galloway"
let authorIsStudent =
let authorIsStudent = student == author
let studentBeforeAuthor = student < author
let studentBeforeAuthor = author > student