Write Python function to find the Length of the Longest One element in the list
Topic: Write Python function to find the Length of the Longest One element in the list
Solution
def findlongest(list): max1=len(list[0]) temp=list[0] for i in list: if(len(i)>max1): max1=len(i) temp=i return temp
List all Python Programs