def find_short(s): min_length = float("inf") for x in s.split(): if len(x) < min_length: min_length = len(x) return min_length