Answers for "how to add all elements of list in python"

0

add one to all elements in list python

new_list = [x+1 for x in my_list]
Posted by: Guest on March-12-2021

Code answers related to "how to add all elements of list in python"

Python Answers by Framework

Browse Popular Code Answers by Language