生成一个100行的Python程序，其功能是将两个已排序的列表合并为一个已排序的列表。


list1 = [1, 3, 4, 5, 8, 9, 10]
list2 = [2, 3, 4, 7, 11, 15]
```
list1 = [1, 3, 4, 5, 8, 9, 10]
list2 = [2, 3, 4, 7, 11, 15]

merged_list = []

i = 0
j = 0

while i < len(list1) and j < len(list2):
    if list1[i] < list2[j]:
        merged_list.append(list1[i])
        i += 1
    else:
        merged_list.append(list2[j])
        j += 1

merged_list += list1[i:]
merged_list += list2[j:]

print(merged_list)
```