Open PeterWolf-tw opened 3 years ago
https://github.com/PeterWolf-tw/NTNU_TextProcessing_2020/blob/5e4c8ee99e2d67a7816e04ab3949d3a24967501a/week04/week04_40706219E.py#L14
作業要求 3.c 是「回傳 (return) 到程式進入點」,然後才「印出」。所以你的 print() 應該在程式進入點的區塊,而不是在 func() 內哦。請依作業規格調整。
https://github.com/PeterWolf-tw/NTNU_TextProcessing_2020/blob/5e4c8ee99e2d67a7816e04ab3949d3a24967501a/week04/week04_40706219E.py#L14
作業要求 3.c 是「回傳 (return) 到程式進入點」,然後才「印出」。所以你的 print() 應該在程式進入點的區塊,而不是在 func() 內哦。請依作業規格調整。