l1 =  [1,2,'sang',[1,'lp',3]]
#  将sang变成大写
l1[2] = l1[2].upper()
print(l1)
# 给小列表增加一个元素
l1[3].append('加油')
print(l1)
# sang变成sanglp
l1[2]=l1[2]+"lp"
print(l1)

# lp变成lp2
l1[3][1]=l1[3][1]+'2'
print(l1)

