Pa-help naman po mga ka-phcorner. Hindi ko magawa ung magcacalculate ng total number ng holidays. Eto palang ung code na nagagawa ko pa-help po
Python:
import holidays
import calendar
from datetime import date
stmonth = int(input("Please enter starting month: "))
stday = int(input("Please enter starting month day: "))
styear = int(input("Please enter starting year: "))
print("1-Yes")
print("2-No")
lyear = int(input("Is the starting year a leap year?: "))
submonth = str(input("Please enter ending month: "))
subday = int(input("Please enter ending day: "))
endyear = date = int(input("Please enter ending year: "))
Attachments
-
You do not have permission to view the full content of this post. Log in or register now.