📅  最后修改于: 2022-03-11 14:45:56.934000             🧑  作者: Mango
my_list = [12, 'Siya', 'Tiya', 14, 'Riya', 12, 'Riya']
my_list.remove(12) # it will remove the element 12 at the start.
print(my_list)
my_list.remove('Riya') # will remove the first Riya from the list
print(my_list)
my_list.remove(100) #will throw an error
print(my_list)