7: 丰富的编辑

剩下的课程会教你如何使编辑拥有“丰富的特点”。The remainder of the lessons allow you to use an editor with "rich features." 请看下面的程序。

示例: 丰富的编辑演示
尝试丰富的编辑。
info = "The rich editor does syntax highlighting"
1
info = "The rich editor does syntax highlighting"
2
# 自动调整大小。手动调整拖动底部边框。
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
 
 
你可以提交,保存和加载编辑。
丰富的编辑会在以后的课程出现。
这节课非常丰富,有三节课,可以不分顺序完成。选择一课继续:

  1. 字符串(大块文本)和字符(字母和数字)。
  2. 数学运算(*, +, -, /),括号以及导入数学模块。
  3. 创建whilefor循环,通过breakcontinue掌控程序。