Question
In Python, what is a character?
Answer
A character is a single unit of information like a letter, number, symbol or space, and is always 1 length long. Characters are essentially the building blocks of strings.
Depending on localization or encoding, there can be many characters used for different languages around the world. For the courses on Codecademy, we mainly utilize the standard ASCII encoding system, which includes the familiar set of characters like the digits 0-9, all letters of the alphabet in both lowercase and uppercase, as well as symbols like ‘!’.