劇集

Lambda |適用于初學者的 Python 更多 [20/ 4]

Python 清單上的篩選等方法可讓您根據您使用函式所指定的準則來尋找專案。 不過,對於簡單的比較(例如相等或數位的比較),建立一行程式碼的函式並不一定有意義。 藉由使用 Lambda,您可以內嵌建立函式,而不需要將命名空間填入另一個具名專案。

請在這裡觀看適用于初學者的 Python 系列: https://aka.ms/PythonBeginnerSeries
如需 Microsoft Learn 的完整「Python 簡介」課程: https://aka.ms/MSLearnPython
所有影片內容都可在: https://github.com/microsoft/c9-python-getting-started/
第一個系列: https://github.com/microsoft/c9-python-getting-started/tree/master/python-for-beginners
第二個系列: https://github.com/microsoft/c9-python-getting-started/tree/master/more-python-for-beginners
第三個系列: https://github.com/microsoft/c9-python-getting-started/tree/master/even-more-python-for-beginners-data-tools

#microsoftdeveloper #morepythonforbeginners #learntocode

Python