Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python divide all values in list

numbers = [1, 2, 3]

quotients = []

for number in numbers:

    quotients.append(number / 2)
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #python #divide #values #list
ADD COMMENT
Topic
Name
3+7 =