Forums
Learn
Careers
Store
About
SUBSCRIBE
UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>
Question 1/12: This code will print three lines of text – true or false?
Hint: The ..< operator excludes the second number, whereas ... includes it. Click to show.
..<
...
for _ in 0...3 { print("Hip hip hurray!") }
Correct! This will print four lines of text.
Oops – that's not correct. This will print four lines of text.
Return to Review Menu
You are not logged in
Link copied to your pasteboard.