Answers for "how to append data in list in python"

0

append list python

my_list = ['a', 'b', 'c']
my_list.append('e')
print(my_list)
# Output
#['a', 'b', 'c', 'e']
Posted by: Guest on February-08-2021

Code answers related to "how to append data in list in python"

Python Answers by Framework

Browse Popular Code Answers by Language