for day in 1...7 { print("Day \(day) of the week") } // Prints Day 1 ... Day 7, seven lines total
Click Run to execute this code.