1. Home
  2. Computing & Technology
  3. Python

String

By Al Lukaszewski, About.com

Definition:

A string is the smallest type of variable that holds non-numeric data. Word, phrases, lines of a file, and full sentences are examples of string values. In Python, a string can also hold a number, but it does so as a non-numeric value. That is, it treats it as a character rather than a operand of arithmetic.

Also Known As: character string

Explore Python

More from About.com

  1. Home
  2. Computing & Technology
  3. Python
  4. Programming Glossary
  5. String

©2008 About.com, a part of The New York Times Company.

All rights reserved.