Answers for "adding into my list in python"

1

python how to add to a list

food = "banana"
basket = []

basket.append(food)
Posted by: Guest on October-01-2020
0

how to add to a list python

a_list = [1,2,3]
a_list.append(4)
Posted by: Guest on September-19-2020

Python Answers by Framework

Browse Popular Code Answers by Language