HW03 判斷敘述式 1. NotebookLM 2. Youtube 3. 測驗 4. 學習卡 5. 寫1個程式需附加說明 Create a README For Github 以下使用 Python 寫一個判斷閏年的程式,並附上中英文說明及適合放在 GitHub 的 README.md 。 1. Python 程式: leap_year.py year = int(input("Enter a year: "))if year % 400 == 0: print(year, "is a leap year.")elif year % 100 == 0: print(year, "is not a leap year.")elif year % 4 == 0: print(year, "is a leap year.")else: print(year, "is not a leap year.") 2. 程式說明(Program Explanation) 閏年(Leap Year)的判斷規則: 年份可以被 400 整除,就是閏年。 年份可以被 100 整除,但不能被 400 整除,就不是閏年。 年份可以被 4 整除,但不能被 100 整除,就是閏年。 其他情況都不是閏年。 Python 的 % 是取餘數運算子。例如, 2024 % 4 == 0 代表 2024 可以被 4 整除。 3. 執行結果(Example Output) Example 1 Enter a year: 2024 2024 is a leap year. Example 2 Enter a year: 1900 1900 is not a leap year. Example 3 Enter a year: 2000 2000 is a leap year. 4. GitHub README.md 建立一個名為 README.md 的檔案,將以下內容複製進去即可。 Leap Year Checker 📌 Introduction This is a simple Python program that prompts the user to enter a ye...