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 vote139 views1 answer
- 0 vote124 views1 answer
- 0 vote120 views1 answer
- 0 vote122 views3 answers
- 1 vote111 views1 answer
- 1 vote110 views1 answer
- 0 vote120 views1 answer
- 9 votes261 views2 answers
- 1 vote138 views2 answers
- 0 vote137 views1 answer