let values = [3.0,6.0,9.0,1.0] let squares = values.map {$0 * $0} print(squares)

0

let values = [3.0,6.0,9.0,1.0] let squares = values.map {$0 * $0} print(squares)

By Beginner Harry McCullough at Oct 17 2020


Related code examples


Code examples by languages