MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / maxlen

Function maxlen

LuaSTGPlus/string2enum.py:6–11  ·  view source on GitHub ↗
(str_list)

Source from the content-addressed store, hash-verified

4import random
5
6def maxlen(str_list):
7 ret = 0
8 for s in str_list:
9 if len(s) > ret:
10 ret = len(s)
11 return ret
12
13def combination(seq, length):
14 if not length:

Callers 1

find_best_indicesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected