GoConqr has a new look! Let us know what you think.

Module 4 of 9 · Media

Find the biggest word in a string

Kostas Diakogiannis

Find the biggest word in a string

S-1 Find the biggest word in a sentence

Create a big sentence and save this string into a variable. 

Try to find out how you are going to print out the biggest word in this string.

step1 hint: Maybe you would like to split the string into separable pieces and have every word separately.

step2 hint: When you do this maybe you want to loop through each word and compare length with the next one.

 

 

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?