From 2c6fb29652cac5e8c18974985eecd19b3faeec3c Mon Sep 17 00:00:00 2001 From: Lukas Baumann Date: Thu, 18 Feb 2021 08:37:19 +0100 Subject: [PATCH] Create 2 - Monkey in the Middle.py --- 13/2 - Monkey in the Middle.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 13/2 - Monkey in the Middle.py diff --git a/13/2 - Monkey in the Middle.py b/13/2 - Monkey in the Middle.py new file mode 100644 index 0000000..cf7661f --- /dev/null +++ b/13/2 - Monkey in the Middle.py @@ -0,0 +1,2 @@ +def middle(L): + return L[len(L) // 2]