79271030

Date: 2024-12-11 08:49:27
Score: 1
Natty:
Report link

Not acceptable if you're really attached to list comprehension, as per OP, but it is easier to read:

import numpy as np
np.array(list_of_lists).flatten()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Idiot Tom