Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

语法与数据类型

  • 变量无需显式声明类型,赋值即绑定对象。
  • 常见内置类型有 int、float、bool、str、list、tuple、dict、set。
  • 切片与解包是 Python 处理序列的常用手段。