Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python longest word in string

def find_longest_word(word_list):  
    longest_word =  max(word_list, key=len)
    return longest_word
Source by www.hackinscience.org #
 
PREVIOUS NEXT
Tagged: #python #longest #word #string
ADD COMMENT
Topic
Name
5+7 =