Question: Have the function string Challenge (sen) take the sen parameter being passed and return the longest word in the string. If there are two or

Have the function string Challenge (sen) take the sen 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" Once your function is working, take the final output string and concatenate it with your ChallengeToken, and then replace every third character with an X. Your Challenge Token: mve7ypk0nf9d ? Examples Input: "fun&!! time" Output: time Final Output: tiXemXe7XpkXnFXd Input: "I love dogs" Output: love Final Output: loXemXe7XpkXnFXd

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!