Answers for "how to add a number to every element in a list python"

0

how to add a number to every element in a 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 a number to every element in a list python"

Python Answers by Framework

Browse Popular Code Answers by Language