print_helloworld() #呼叫函式. 範例2:(有傳回值). 代碼: 選擇全部 def calc(a,b): #傳入參數return a+b #回傳結果sum=calc(3,5) #呼叫函式print(sum).
確定! 回上一頁