Python Principles

Strings

Slide solved ✓

Strings

Informally, a string is simply some letters in a row.

In Python, strings are enclosed in double quotes. Here are three examples of strings:

"test"
"this is a string"
"hello world"

Lesson completed

Congratulations! You have finished the lesson "Strings".

Rate the lesson

Leave feedback



Next lesson Browse lessons
Sorry, that's not right.

explanation