Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
TypeScript
divide all elements of list by an integer
Anastasiia
Programming language:
TypeScript
2021-05-12 06:13:26
0
Q:
divide all elements of list by an integer
Ankush
Code:
TypeScript
2021-09-15 19:00:34
myList[:] = [x / myInt for x in myList]
0
Tags
list
element
int
New to Communities?
Join the community