當週一要用 1 而不是像 weekday() 那樣用 0 來標記時,就會用到這個方法。 以下是程式碼示例。 Python. pythonCopy from datetime import datetime print ...
確定! 回上一頁