7: Rich Editor

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"
1
info = "The rich editor does syntax highlighting"
2
# It resizes automatically. Drag the bottom border for manual size.
3
cool = True
4
for i in range(0, max(3, 1+2*3-4)):
5
   print('It also colours matching parentheses as you type')
6
 
 
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).
  2. math operations (*, +, -, /), parentheses, and importing methods from the math module.
  3. creating while and for loops, and controlling program flow with break and continue.