Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
TypeScript
increment all elements list python
Naga Raja
Programming language:
TypeScript
2021-04-23 11:26:52
0
Q:
increment all elements list python
Kris Gates
Code:
TypeScript
2021-07-18 01:40:31
def incr(lst, i): return [x+i for x in lst]
0
Tags
python
list
element
Related
python find the number of elements in a list
python all elements in list in another list
add 1 to all elements in list python
New to Communities?
Join the community