Combining Colour, Highlight and Style
Joining multiple dot-notation values together with + to apply colour, highlight, and style all at once
Understanding Combining Colour, Highlight and Style in SC in Schools Python
What it does: This description matches combining effects, which are chained together using +. The + operator joins each Colour, Highlight, and Style value, and the string, into one expression. Values like Colour.red or Style.bold are written without quotation marks, using dot notation. You don't need all three — any combination, including just two, can be joined with +. Using a comma instead of + breaks the chain of combined effects. This system requires the capitalised spelling Style, not lowercase style.
Common mistakes: Combined effects should be joined with +, not a comma — it should read Colour.blue + Style.italic. Style must start with a capital S, not lowercase style — it should read Style.bold.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 64–73) and word search (Modules 64–73).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
Colour.red + Highlight.yellow + Style.boldFill in the Blanks
Spot the Error
Student with a class code? Join your class →