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 vote208 views1 answer
- 7 votes288 views2 answers
- 0 vote222 views1 answer
- 0 vote200 views2 answers
- 6 votes214 views2 answers
- 0 vote207 views1 answer
- 1 vote211 views1 answer
- 0 vote189 views3 answers
- 0 vote220 views1 answer
- 1 vote206 views1 answer