Skip to content
Snippets Groups Projects
Commit ba5eb076 authored by D Vengatesh's avatar D Vengatesh
Browse files

ex2 q6 done

parent 02ecfbf5
No related branches found
No related tags found
No related merge requests found
Pipeline #58 canceled
def maxlength(a):
max1=0
for i in s:
l=len(i)
if(l>max1):
max1=l
s1=i
return s1
s=[str(x) for x in input().split() ]
print(maxlength(s))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment