-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
val_list=[70,20,50,40,30]
print( "lists elements",val_list)
val_list.append(10)
print("After append:",val_list)
val_list.insert(2,100)
print("after insert:",val_list)
val_list.remove(30)
print("after remove",val_list)
pop_elm=val_list.pop()
print("popped element:",pop_elm)
print("afterpop the list",val_list)
print("length of list is",len(val_list))
val_list.clear()
print("list is;", val_list)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels