函式功能:印出msg(參數內容). 8. . 9. def add(n1,n2):. 10. #定義一個叫做add的函式. 11. result=n1+n2. 12. #函式功能:加總並印出. 13. print(result).
確定! 回上一頁