List Functions
Lesson 12Author : GOUP
Last Updated : September, 2020
Code
friends = []
friends.append("Oscar")
friends.append("Angela")
friends.insert(1, "Kevin")
# friends.remove("Kevin")
print( friends )
print( friends.index("Oscar") )
print( friends.count("Angela") )
friends.sort()
print( friends )
friends.clear()
print( friends )