Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python list divide

myList = [10,20,30,40,50,60,70,80,90]
myInt = 10
newList = [x / myInt for x in myList]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #list #divide
ADD COMMENT
Topic
Name
8+2 =