Character
A character is a unit of text treated as a single symbol or element in a character sequence, independent of its underlying encoding.
Tiny Python Projects: Learn coding and testing with puzzles and games
An individual textual element in a string, specifically an alphabetic symbol in this exercise.
- How it is used
- Uses characters to transform strings, validate vowel choices, inspect text, and compare or sort words.
- How deep it goes
- Explains iteration, immutability, construction of replacement strings, and ASCII ordering, but does not descend into character encoding internals.
- Examples
- Demonstrates uppercase conversion, vowel substitution, vowel-choice validation, case-sensitive sorting, and case-insensitive sorting.
- What you can do after
- Apply character iteration and case handling to construct transformed strings and perform reliable text comparisons.
Read how Tiny Python Projects: Learn coding and testing with puzzles and games explains character →
Julia as a Second Language
A character is a single textual symbol represented as a value in a programming language.
- How it is used
- Represents individual textual values inside strings, arrays, tuples, and practical data records.
- How deep it goes
- Explains literals, numeric representation, arithmetic, ranges, joining, and collection, while deferring deeper type-system treatment.
- Examples
- Uses character literals, character arrays, ranges, joined strings, collected strings, and pizza-size tuples.
- What you can do after
- Build character values, combine them into strings, iterate over ranges, and distinguish Char fields from String fields.
Also covered in
- Get Programming: Learn to code with Python
- AI-Powered Search
- Deep Learning with PyTorch, Second Edition
- Machines that ThinkIn early access (MEAP)
- Local Image GenerationIn early access (MEAP)
- Python Workout: 50 ten-minute exercises
- The Well-Grounded Rubyist, Fourth Edition
- How Computers Make Books
- The Quick Python Book, Fourth Edition
- Python Workout, Second Edition
- Learn Haskell by Example
- Everyday Data Visualization
What to know first
- integerAn integer is a whole-number mathematical value, including negative numbers, zero, and positive numbers, with no fractional part.
- language modelA language model is a computational model that represents patterns in linguistic sequences to assign probabilities, predict, generate, or evaluate language.
- floating-point arithmeticFloating-point arithmetic is numerical computation using finite-precision representations of real numbers, which can introduce rounding and range errors.
- PythonPython is a high-level, general-purpose, dynamically typed programming language with readable syntax and support for multiple programming paradigms.
Related concepts
- chrproduced by · chr is a function or method that converts an integer code point or character value into its corresponding character.
- non-word characterincludes · A non-word character is a character outside a regular-expression engine’s word-character set, commonly matched with the shorthand class \W.
Questions about character
What is character?
A character is a unit of text treated as a single symbol or element in a character sequence, independent of its underlying encoding.
Which Manning books explain character?
Tiny Python Projects: Learn coding and testing with puzzles and games and Julia as a Second Language.
What should I know before learning character?
Manning books that teach character usually introduce integer, language model, floating-point arithmetic and Python first.
What kinds of character are there?
Kinds of character include alphanumeric character, disallowed character, Latin character, non-Latin character and non-word character.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

