liveBook · Manning

Character

A character is a unit of text treated as a single symbol or element in a character sequence, independent of its underlying encoding.

How 2 Manning books explain it

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.

Read how Julia as a Second Language explains character →

Also covered in

What to know first

Related concepts

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.