Part 4 | Python Programming | Appending to a list

Опубликовано: 11 Февраль 2025
на канале: oOSylarTechOo
86
2

This is part 4 of a series of python coding that I am having fun with and want to show others that are interested or stuck.

#appending to a list

#create the list first
fruits = ["apple", "banana", "cherry"]

#use .append to add to an existing list
fruits.append("peach")

print(fruits)

#python #pythonprogramming #pythontutorial #pythonforbeginners #shorts

Music: Paid Subscription with Wondershare Filmora