summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xstdlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib.py b/stdlib.py
index dd43eb2..44bef07 100755
--- a/stdlib.py
+++ b/stdlib.py
@@ -122,7 +122,7 @@ def printf(*value: str):
print(str(i2str(value)), end='', flush=True)
# mixly(shuffle) join a list to another
-def shufflejoin(str1: str, str2: str, *others):
+def shufflejoinlst(str1: str, str2: str, *others) -> list:
from random import shuffle
tmpstr = str1 + str2
if others:
@@ -131,7 +131,7 @@ def shufflejoin(str1: str, str2: str, *others):
tmpstrlst = list(tmpstr)
shuffle(tmpstrlst)
- return ''.join(tmpstrlst)
+ return tmpstrlst
# limit string to how much charactor it can use, and delete other then that
def limitstring(string: str, limit: int):