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