freeCodeCamp/curriculum/challenges/chinese/08-data-analysis-with-python/data-analysis-with-python-c.../python-introduction.md

997 B

id title challengeType videoId dashedName
5e9a093a74c4063ca6f7c165 Python 简介 11 PrQV9JkLhb4 python-introduction

--description--

在视频中我们使用的编辑器工具是在 notebook.ai 这个平台,你也可以选择用其他的平台,比如说 Google Colab 也是一个不错的选择。

更多资源:

--question--

--text--

我们如何在 Python 函数中定义代码块?

--answers--

我们可以在代码的每个新区块的两侧使用一组大括号。


我们使用缩进,通常是右对齐的 4 个空格。


我们不用指示出代码块。


我们可以使用大括号或缩进来指示出代码块。

--video-solution--

2