Day 3 of #100DaysOfSwiftUI included operators, compounds (+= or -= for instance), comparisons, switch statements, ternary and ranges!
I kind of like the look of ternary vs
if blocks but I guess time and experience in Swift will tell…
var firstCard = 11 var secondCard = 10 print(firstCard + secondCard == 21 ? “Blackjack!” : “Regular cards”)