-1
def match_numbers (nlist, nlist1):
'''Returns the integer string whose first three numbers are on the first list'''
for x in nlist:
for x in nlist1:
print(x)
因此,假设第一列表为['543', '432']
和第二列表有['543242', '43299919', '2322242', '245533']
,我需要的功能相匹配543
和432
与第二列表上的加长版本,我怎样才能得到我的代码做到这一点?功能定义:匹配两个输入列出