Forums
Learn
Careers
Store
About
SUBSCRIBE
GO FURTHER, FASTER: Try the Swift Career Accelerator today! >>
Question 1/12: This loop prints five lines of text – true or false?
Hint: Watch out for text that is printed only when a condition is satisfied. Click to show.
while 0 < 5 { print("I'm counting to 5!") }
Correct! 0 is always less than 5, so this will loop forever.
Oops – that's not correct. 0 is always less than 5, so this will loop forever.
Return to Review Menu
You are not logged in
Link copied to your pasteboard.