Skip to content

Instantly share code, notes, and snippets.

@tanepiper
Created February 11, 2011 15:21
Show Gist options
  • Select an option

  • Save tanepiper/822482 to your computer and use it in GitHub Desktop.

Select an option

Save tanepiper/822482 to your computer and use it in GitHub Desktop.
L1 = [1, 2, 3, 4, 5]
L2 = [6, 7, 8, 9, 10]
([x, y] for x of L1 for y of L2)join ' '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment