Python函式 #187
Unanswered
enoch-lightning
asked this question in
Q&A
Python函式
#187
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Python函式=函數=方法=function,在Python中是「第一級物件」,英文是first class object。「第一級物件」的特性是可以放在引數(arguments)的位置,直接將整個「第一級物件」傳給此引數對應的函式參數(parameters),也可以當作一個函式的「回傳值=傳回值」以return丟給呼叫此函式的人。
參考資料
雖然有找到參考資料,但不知如何找到Python的官方說明文件。
Beta Was this translation helpful? Give feedback.
All reactions