Introduction to Strings

Learn about string creation, usage, indexing, and properties.

What is a string?

A Python string is a collection of Unicode characters. Python strings can be enclosed in single, double, or triple quotes, as shown below:

  • 'BlindSpot'
  • "BlindSpot"
  • '''BlindSpot'''
  • """Blindspot"""

Create a free account to view this lesson.

Continue your learning journey with a 14-day free trial.

By signing up, you agree to Educative's Terms of Service and Privacy Policy