Relative Content

Tag Archive for pythonpython-3.xtokenchallenge-response

Python String challenge coderbyte

Have the function stringChallenge (sen) take the parameter being passed and return the longest word in the string. If there are two or more words that are the same length, return the first word from the string with that length. Ignore punctuation and assume sen will not be empty. Words may also contain numbers, for example “Hello world123 567”