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