
lucky_numbers = [4,8,15,16,23,42]
friends = ["Nidhin", "Jones", "Stalin", "Sabarish", "Ragul"]

# friends.extend(lucky_numbers) # add another list
# friends.append("Creed") # Add one item end of the list
# friends.insert(1, "Pravin") # Add item in anywhere
# friends.remove("Stalin") # Remove a item
# friends.clear() # Remove all item
# friends.pop()# Remove last item in the list
print(friends.index("Nidhin"))
print(friends.count("Nidhin")) # how many time this value comes
# friends.sort() # acending order
friends.reverse() # acending order
friends2 = friends.copy()
print(friends2)

print(friends)