Answers for "add element to array list python"

1

add an element to list python

a=[8,5,6,1,7]
a.append(9)
Posted by: Guest on May-31-2020
1

add element to array list python

fruits=['Banana', 'Apple']
fruits.append('Orange')
Posted by: Guest on August-01-2021

Python Answers by Framework

Browse Popular Code Answers by Language