list# 使用list函数ll = list('hello list')print(ll)# 列表元素赋值 如 x[3]=5x = [1,2,3,4,5]# 改变列表第四个元素的值x[3] = 5print(x)# 删除元素 delnames = ['zhangsan','lisi',...
Given a sorted linked list, delete all duplicates such that each element appear only once.