Aug-03-2017, 07:09 AM
dict has .pop(index) and .pop(index,default)
list only has .pop(index) my suggestion is to add .pop(index,default)
but is it worth having? i have run into cases where i almost coded it because i often use dict.pop(index,default). otoh, working around the lack of it was not as hard as it would be if dict didn't have. so i don't know.
list only has .pop(index) my suggestion is to add .pop(index,default)
but is it worth having? i have run into cases where i almost coded it because i often use dict.pop(index,default). otoh, working around the lack of it was not as hard as it would be if dict didn't have. so i don't know.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.