From faaeed147b8548a32385de038d7e06e78355df12 Mon Sep 17 00:00:00 2001 From: Lukas Baumann Date: Thu, 18 Feb 2021 08:54:56 +0100 Subject: [PATCH] Create 7 - Mystery Function --- 13/7 - Mystery Function | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 13/7 - Mystery Function diff --git a/13/7 - Mystery Function b/13/7 - Mystery Function new file mode 100644 index 0000000..316fe03 --- /dev/null +++ b/13/7 - Mystery Function @@ -0,0 +1,4 @@ +def prod(L): + for i in L[1:]: + L[0] *= i + return L[0]