79468835

Date: 2025-02-26 07:26:59
Score: 1.5
Natty:
Report link
import itertools
def get_list(l1,l2):
#THIS FUNCTION WILL TEST ALL THE PRODUCTS AND RETURN ONLY THE CORRECT ONES
return [a+b[2:] for a,b in list(itertools.product(l1,l2)) if a[1:] == b[:2]]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: TheMelon