Metadata
Title
7: Rich Editor
Category
general
UUID
f8181ee8a90640b7b06f194a47a7e953
Source URL
https://cscircles.cemc.uwaterloo.ca/7-rich-editor/
Parent URL
https://cscircles.cemc.uwaterloo.ca/
Crawl Time
2026-03-18T05:13:31+00:00
Rendered Raw Markdown
# 7: Rich Editor

**Source**: https://cscircles.cemc.uwaterloo.ca/7-rich-editor/
**Parent**: https://cscircles.cemc.uwaterloo.ca/

The remainder of the lessons allow you to use an editor with "rich features." Take a look inside the box below. 

Example: Rich Editor Demo

Try out the rich editor.

info = "The rich editor does syntax highlighting"
# It resizes automatically. Drag the bottom border for manual size.
cool = True
for i in range(0, max(3, 1+2\*3-4)):
print('It also colours matching parentheses as you type')

|  |  |  |  |
| --- | --- | --- | --- |
|  |  |  |  |

More actions...
Reset code to default

You can submit, save and load with the editor as usual.

|  |  |
| --- | --- |
|  | The rich editor is used for all further lessons. |

This lesson is *so* rich, it has three sub-lessons, which can be completed in any order. Pick one to continue:

1. [strings (chunks of text) and characters (letters and digits).](https://cscircles.cemc.uwaterloo.ca/7a-strings/)
2. [math operations (\*, +, -, /), parentheses, and importing methods from the `math` module.](https://cscircles.cemc.uwaterloo.ca/7b-math/)
3. [creating `while` and `for` loops, and controlling program flow with `break` and `continue`.](https://cscircles.cemc.uwaterloo.ca/7c-loops/)