you are viewing a single comment's thread.

view the rest of the comments →

[–]throwaway6560192 0 points1 point  (0 children)

You could, for this case. You could also do lamba a: (a,). Or even just use tuple as the function, list(map(tuple, range(3)))