where in a for-loop 5 Nov Written By Vincent Pradeilles Here’s the code if you want to experiment with it! import Foundation let numbers = [1, 2, 3, 4, 5] for number in numbers where number.isMultiple(of: 2) { print(number) }Copy Vincent Pradeilles
where in a for-loop 5 Nov Written By Vincent Pradeilles Here’s the code if you want to experiment with it! import Foundation let numbers = [1, 2, 3, 4, 5] for number in numbers where number.isMultiple(of: 2) { print(number) }Copy Vincent Pradeilles