Question 1/6: Which of these lines make variables?
Hint: Make sure the type annotations match what's placed inside! Click to show.
var score: Double = 10
This creates a variable called
var isActive: Bool = 0
This attempts to assign an integer to a Boolean, which is invalid in Swift.
Oops – that's not correct.
Link copied to your pasteboard.