Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

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)
 
PREVIOUS NEXT
Tagged: #values #squares
ADD COMMENT
Topic
Name
2+4 =