
1、不能改动程序结构,原程序中有若干错误,请改正。
2、运行该程序。如:输入以下内容:
[1,2, 3,4],(5,6,7,8),'9101112'

lst,tup,st=eval(input())
lst_new1=[]
lst_new2=[]
lst_new1.extend([lst[0], tup [0], int(st[0])])
lst_new2.extend([lst[len(lst)-1],tup [len(tup)-1],int(st [len(st)-1])])
print('lst_new1={0}'.format(lst_new1))
print('lst_new2={0}'.format(lst_new2))
#[1,2,3,4],(5,6,7,8),'9101112'
