Answers for "all values in a list add 1"

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 "all values in a list add 1"

Python Answers by Framework

Browse Popular Code Answers by Language