From 792a54bfd1b172908f1849975b533fea2e038600 Mon Sep 17 00:00:00 2001 From: itec78 Date: Thu, 1 Oct 2020 17:43:33 +0200 Subject: [PATCH] Fixed 0 no result --- banana.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/banana.py b/banana.py index cfb5f16..e8504a9 100755 --- a/banana.py +++ b/banana.py @@ -4,7 +4,7 @@ def dec2banana(num, alphastart = None, shiftend = None, minlength = None, alphab #defaults if alphastart is None: alphastart = 0 if shiftend is None: shiftend = 0 - if minlength is None: minlength = 0 + if minlength is None: minlength = 1 if alphabet is None: alphabet = [list("bcdfglmnprstvz"), list("aeiou")] numdict = len(alphabet)