Answers for "append new item to list"

0

how to add an item to a list python

numbers = [1, 2, 3, 4]
numbers.append(10)
print(numbers)
Posted by: Guest on July-19-2020

Code answers related to "append new item to list"

Python Answers by Framework

Browse Popular Code Answers by Language