Back to Browse

【用VSCode學習】Python入門 #9 Python 中的函數

7 views
Jul 10, 2025
10:16

這段視頻解釋了 Python 中的函數。 您可以通過在 Visual Studio Code 中預覽每個範例來學習。 ✅ 在此訂閱頻道 https://youtube.com/channel?sub_confirmation=1 📝 部落格網址 https://codesparklab.com/cmn-TW/python-introduction/python-function 💡 本系列的播放清單 https://www.youtube.com/playlist?list=PL0Yv_lpS_nr3i54APGx4XJJQRwdSQ4EXH 🕐 視頻內容 00:00 開始 00:32 Python 中的函數 00:58 - 定義函數 01:31 - 調用函數 01:47 - 函數的組成部分 02:46 - 參數的類型 03:54 Python 中的 Lambda 函式 04:21 `lambda` 函式的基礎知識 05:37 - `lambda` 函式的使用場景 06:19 - 在高階函式中的範例使用 06:56 - 使用列表排序的示例 07:33 - `filter()` 和 `lambda` 08:02 - `lambda` 和 `reduce()` 08:33 - 避免使用複雜的 `lambda` 函式 09:25 - 結論 #Python #基本概念

Download

0 formats

No download links available.

【用VSCode學習】Python入門 #9 Python 中的函數 | NatokHD