Avatar
@swift-5.0.3 let scores = [100, 80, 85] let passCount = scores.count { $0 >= 85 } print(passCount) (edited)