From 0bbb0d592bb040f31b5076b1f91ac96f5e7f7da6 Mon Sep 17 00:00:00 2001
From: "Bradley M. Small" <bradley_small@hotmail.com>
Date: Thu, 19 Sep 2019 00:26:29 -0400
Subject: [PATCH] intial upload

---
 coco.py | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100755 coco.py

diff --git a/coco.py b/coco.py
new file mode 100755
index 0000000..52f8389
--- /dev/null
+++ b/coco.py
@@ -0,0 +1,29 @@
+def splitthem(quant):
+    if quant[0] % 5 != 1:
+        return False
+    else:
+        quant[0] -= (1 + quant[0]//5) 
+    return True
+
+
+def testnum(num):
+    for pers in range(5):
+        if (False == splitthem(num)):
+            return False
+    if num[0] % 5 == 0:
+        return True
+
+
+def main():
+    num = [0]
+    for n in range(1, 10000):
+        num[0] = n
+        if testnum(num):
+            print "The Number Was %d" % (n)
+            return
+
+    print "Not found in 10000 tries"
+
+
+if __name__=="__main__":
+    main()
-- 
GitLab