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)
So suppose the first list was ['543', '432']
and the second list had ['543242', '43299919', '2322242', '245533']
, and I need the function to match 543
and 432
with its longer version on the second list, how can I get my code to do this?