yo hows it going /g/, im a fuckup and was wodnerign how you would find the longest word in a user generated sentence in python w/o using max() and sorted()
>>59491085
>91085▶
eww python
>>59491085
your solution could resemble thissentence.split.inject { |m,e| e.length > m.length ? e : m }
>>59491135
Appreciate it
>>59491085
Max(re.split(sentence, " ").sort())
Friends don't let friends (pretend to) program while high.