jupyter notebook中怎么输入
时间: 2023-10-10 21:04:29 浏览: 293
在Jupyter Notebook中输入内容有两种方式:代码单元格和Markdown单元格。
- 在代码单元格中,你可以输入Python代码并执行它。要创建一个新的代码单元格,请点击菜单栏中的"Insert",然后选择"Insert Cell Below"或"Insert Cell Above"。你还可以使用快捷键"B"或"A"来插入新的单元格。在代码单元格中,你可以直接输入Python代码,并使用快捷键"Shift+Enter"来运行代码并查看结果。
- 在Markdown单元格中,你可以输入文本和格式化内容。要创建一个新的Markdown单元格,请点击菜单栏中的"Insert",然后选择"Insert Cell Below"或"Insert Cell Above"。你还可以使用快捷键"B"或"A"来插入新的单元格。在Markdown单元格中,你可以使用Markdown语法来编写文本,如标题、列表、粗体、斜体等。通过将单元格的类型更改为Markdown并输入文本,可以将其转换为可读的格式。
阅读全文
相关推荐














