Swift - Loops
Which of the following is the correct syntax to create a stride in Swift that counts down from 10 to 2 by steps of 2, including 2?
through.stride(from: 10, through: 2, by: -2) matches counting down with inclusion of 2.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions