79346249

Date: 2025-01-10 15:56:41
Score: 1.5
Natty:
Report link

Honestly I think you wont be able to do it with zip because you are searching for another behaviour. To use syntactic sugar and make it work with zip will just void your debugging experience.

But if you would drag me by the knee:

zip([val for val in l1 for _ in range(len(l2))], [val for _ in l1 for val in l2])

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: thomas lawanson