Ad
Code
Diff
  • def find_short(string):
        return len(min(string.split(" "),key=len))
    • def find_short(string):
    • return len(sorted(string.split(" "),key=len)[0])
    • return len(min(string.split(" "),key=len))