"""author: @pythonpips"""

numbers = [1, 2, 3, 4]
numbers.append(5)
# outputs [1, 2, 3, 4, 5]
How to Add an Element in the List in Python

Subscribe to our newsletter