Let values = [3.0,6.0,9.0,1.0] let squares = values.map {$0 * $0} print(squares)
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)
0
Source: rosettacode.org
- 0 vote197 views1 answer
- 0 vote207 views1 answer
- 1 vote228 views1 answer
- 2 votes208 views1 answer
- 0 vote227 views1 answer
- 1 vote185 views1 answer
- 0 vote206 views1 answer
- 0 vote192 views1 answer
- 0 vote153 views1 answer
- 0 vote210 views1 answer