DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
5+7 =
Submit