From 638f63f664bdcc4d324a3bf6a3014052cee79c3e Mon Sep 17 00:00:00 2001 From: kartik800 <54595695+kartik800@users.noreply.github.com> Date: Thu, 1 Oct 2020 16:27:27 +0530 Subject: [PATCH] Create Superset.py --- Superset.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Superset.py diff --git a/Superset.py b/Superset.py new file mode 100644 index 0000000..602d5b7 --- /dev/null +++ b/Superset.py @@ -0,0 +1,2 @@ +# Superset Python One-Liner +lambda l: reduce(lambda z, x: z + [y + [x] for y in z], l, [[]])