Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python square all numbers in list

def square(list):
    return [i ** 2 for i in list]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #square #numbers #list
ADD COMMENT
Topic
Name
3+6 =