Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

divide all elements of list by an integer

myList[:] = [x / myInt for x in myList]
 
PREVIOUS NEXT
Tagged: #divide #elements #list #integer
ADD COMMENT
Topic
Name
7+3 =