Answers for "adding the new element in the list in the pytohn"

0

how to add element to python list

MyList = ["apple", "banana", "orange"]

MyList.append("raspberry")
# MyList is now [apple, banana, orange, raspberry]
Posted by: Guest on March-25-2021

Code answers related to "adding the new element in the list in the pytohn"

Python Answers by Framework

Browse Popular Code Answers by Language