summaryrefslogtreecommitdiff
path: root/progs/a891.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a891.py')
-rw-r--r--progs/a891.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/a891.py b/progs/a891.py
new file mode 100644
index 0000000..87ca1a8
--- /dev/null
+++ b/progs/a891.py
@@ -0,0 +1,4 @@
+def min_length(list1):
+ min_length = min(len(x) for x in list1 )
+ min_list = min((x) for x in list1)
+ return(min_length, min_list) \ No newline at end of file