基础语法
-
Variable - 变量
-
Data Type - 数据类型
-
Integer (int) - 整数
-
Float - 浮点数
-
String (str) - 字符串
-
Boolean (bool) - 布尔值
-
None - 空值
-
Operator - 运算符
-
Assignment - 赋值
-
Comparison - 比较
-
Logical - 逻辑
-
Arithmetic - 算术
-
Comment - 注释
-
Indentation - 缩进
-
Syntax - 语法
-
Expression - 表达式
-
Statement - 语句
-
Identifier - 标识符
-
Keyword - 关键字
-
Literal - 字面量
数据结构
-
List - 列表
-
Tuple - 元组
-
Dictionary (dict) - 字典
-
Set - 集合
-
Array - 数组
-
Stack - 栈
-
Queue - 队列
-
Linked List - 链表
-
Hash Table - 哈希表
-
Element - 元素
-
Index - 索引
-
Key-Value Pair - 键值对
-
Mutable - 可变的
-
Immutable - 不可变的
-
Slice - 切片
-
Iterable - 可迭代对象
-
Sequence - 序列
-
Nested - 嵌套的
-
Comprehension - 推导式
-
Generator - 生成器
函数
-
Function - 函数
-
Parameter - 参数
-
Argument - 实参
-
Return - 返回
-
Call - 调用
-
Recursion - 递归
-
Lambda - 匿名函数
-
Scope - 作用域
-
Global - 全局的
-
Local - 局部的
-
Default Value - 默认值
-
Keyword Argument - 关键字参数
-
Variable-length Argument - 可变长度参数
-
Decorator - 装饰器
-
Closure - 闭包
-
Anonymous Function - 匿名函数
-
Callback - 回调函数
-
Higher-order Function - 高阶函数
-
Pure Function - 纯函数
-
Side Effect - 副作用
面向对象编程 (OOP)
-
Class - 类
-
Object - 对象
-
Instance - 实例
-
Method - 方法
-
Attribute - 属性