for i in range(0, len(list1)): #len(list1)获取列表长度 list1_len1 = len(list1[i]) #元素长度 if list1_len1 == 4: l1_build = list1[i][:2].lstrip("0") #去除前面的0 l1_unit = list1[i][3] else: l1_build = list1[i][:1] l1_unit = list1[i][2] l2_room = li...