Lesson 06: Strings: Text, Quotes, and Length

A string is text in quotes. len() counts its characters and + joins strings together. Change the word and run again.

Loading Python… this can take a few seconds the first time. Please wait — the Run button will become available when Python is ready.

Try this: Change the word to a longer word and press Run again — the length number changes too.

The code that runs



Output

Press Run to see the output here.