Forums
Learn
Careers
Store
About
SUBSCRIBE
BLACK FRIDAY: Save 50% on all my Swift books and bundles! >>
Question 1/12: This loop will print some text – true or false?
Hint: Calling break skips the remainder of the current loop. Click to show.
break
var isActive = false while isActive { print("Checking for user input...") }
Correct! The loop condition is false, so the loop doesn't execute even once.
Oops – that's not correct. The loop condition is false, so the loop doesn't execute even once.
Return to Review Menu
You are not logged in
Link copied to your pasteboard.