0

Guys, what could be the problem here?

python 63 code project longest word

11th Jun 2021, 9:11 AM
Edward Blessing
Edward Blessing - avatar
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)
11th Jun 2021, 9:15 AM
Slick
Slick - avatar
+ 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
11th Jun 2021, 9:26 AM
Jayakrishna 🇼🇳
+ 1
max in lexicographical sense is it u need max(txt.split(","),key=len)
11th Jun 2021, 10:50 AM
Oma Falk
Oma Falk - avatar