From 2707e0b0bce525a1f59d4499dab6015dfd9126b9 Mon Sep 17 00:00:00 2001 From: Vivin Balaji K S <cb.en.u4cse16265@cb.students.amrita.edu> Date: Wed, 12 Dec 2018 10:22:51 +0530 Subject: [PATCH] Upload New File --- CSE16265_ExNo02_06.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 CSE16265_ExNo02_06.py diff --git a/CSE16265_ExNo02_06.py b/CSE16265_ExNo02_06.py new file mode 100644 index 0000000..99d9304 --- /dev/null +++ b/CSE16265_ExNo02_06.py @@ -0,0 +1,11 @@ +def returnmaxlength(a): + p=0 + for i in range(len(a)): + if len(a[i])>m: + p=len(a[i]) + j=i + return a[j] +s=[str(x) for x in input().split()] +print(returnmaxlength(a)) + + -- GitLab