strs = [“flower”, “flow”, “flight”] minLength = min(len(s) for s in strs) maxLength = max(len(s) for s in strs)