0
Guys, what could be the problem here?
python 63 code project longest word
3 Answers
+ 2
i see you're using max() when referring to strings, that may be the problem.
try comparing the lengths of words: len(word)
+ 2
Post full problem details in description place. Tags help in searching so add just small suitable tags like language, problem area like method name. there is not enough details to point out exact problem
edit
https://www.sololearn.com/discuss/333866/?ref=app
+ 1
max in lexicographical sense is it
u need max(txt.split(","),key=len)