1.0 KiB
1.0 KiB
id, title, challengeType, videoId, bilibiliIds, dashedName
id | title | challengeType | videoId | bilibiliIds | dashedName | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
5e9a093a74c4063ca6f7c165 | Python 簡介 | 11 | PrQV9JkLhb4 |
|
python-introduction |
--description--
在視頻中我們使用的編輯器工具是在 notebook.ai 這個平臺,你也可以選擇用其他的平臺,比如說 Google Colab 也是一個不錯的選擇。
更多資源:
--question--
--text--
我們如何在 Python 函數中定義代碼塊?
--answers--
我們可以在代碼的每個新區塊的兩側使用一組大括號。
我們使用縮進,通常是右對齊的 4 個空格。
我們不用指示出代碼塊。
我們可以使用大括號或縮進來指示出代碼塊。
--video-solution--
2