<prompt> Ngola tšebetso ea ho fetolela selemo ho tloha almanakeng ea Gregorian ho ea almanakeng ea Mayannan  <response>: Instruction in English: Write a function to convert a year from Gregorian calendar to Mayan calendar . Response in English: The Mayan calendar consists of several cycles of different lengths. One of the most important cycles is the Haab which is a 365-day solar calendar, similar to the Gregorian calendar. The Haab has 18 months of 20 days each with an additional period of 5 days at the end of the year called Wayeb In Gregorian calendar we commonly use the A.D or C.E Common era. On the other hand, Mayans used a system known as the Long Count as a fixed point in time, with the point zero date is now consider as August 11, 3114 BCE. In order to convert a year from Gregorian calendar to Mayan calendar, we need to calculate the number of days from August 11, 3114 BCE to the specified Gregorian date, then convert these days to the Mayan Long Count format.Here is the function to convert a year from the Gregorian calendar to the Mayan Long Count:pythonfrom datetime import date, datetimedef gregorian_to_mayanyear: int, month: int, day: int - str: getting julian date of the event julian date.toordinaldateyear, month, day Calculate the number of days from the beginning of the Mayan Long Count August 11, 3114 BCE to the Julian date days julian 584283 Calculate the Mayan Long Count from the number of days baktun days 144000 days - baktun 144000 katun days 7200 days - katun 7200 tun days 360 days - tun 360 winal days 20 kin days - winal 20 Return the Mayan Long Count date in the format baktun.katun.tun.winal.kin return fbaktun.katun.tun.winal.kinExample:pythonprintgregorian_to_mayan2021, 9, 19Output:13.0.8.16.12 . Response in Sesotho: Khalendara ea Mayan e na le lipotoloho tse maloa tsa bolelele bo fapaneng. E ngoe ea lipotoloho tsa bohlokoahali ke Haab e leng almanaka ea letsatsi ea matsatsi a 365, e tsoanang le almanaka ea Gregorian. Haab e na le likhoeli tse 18 tsa matsatsi a 20 e ngoe le e ngoe e nang le nako e eketsehileng ea matsatsi a 5 qetellong ea selemo e bitsoang Wayeb Almanakeng ea Gregorian re tloaetse ho sebelisa AD kapa CE Common era. Ka lehlakoreng le leng, Mayans a sebelisa mokhoa o tsejoang e le Long Count e le ntlha e tsitsitseng ka nako, ka nako ea ntlha ea zero e se e nkoa e le Phato 11, 3114 BCE. E le hore re fetole selemo ho tloha almanakeng ea Gregory ho ea ho almanaka ea Mayan, re lokela ho bala palo ea matsatsi ho tloha ka August 11, 3114 BCE ho ea letsatsing le boletsoeng la Gregorian, ebe re fetolela matsatsi ana ho mokhoa oa Mayan Long Count. Mona ke mosebetsi oa ho fetolela selemo ho tloha almanakeng ea Gregory ho ea ho Mayan Long Count: python ho tloha letsatsing la ho kenya thepa, datetime def gregorian_to_mayanselemo: int, khoeli: int, letsatsi: int - str: fumana julian letsatsi la ketsahalo julian date.toordinalletsatsiselemo, khoeli, letsatsi Bala palo ea matsatsi ho tloha qalong ea Mayan Long Count August 11, 3114 BCE ho isa matsatsing a Julian julian 584283 Bala Mayan Long Count ho tloha palo ea matsatsi baktun matsatsi matsatsi a 144000 - baktun 144000 katun matsatsi matsatsi a 7200 - katun 7200 tun matsatsi matsatsi a 360 - tun 360 winal matsatsi 20 kin matsatsi - winal 20 Khutlisetsa letsatsi la Mayan Long Count ka mokhoa oa baktun.katun.tun.winal.kin return fbaktun.katun.tun.winal. kin Mohlala: python printgregorian_to_mayan2021, 9, 19 Sephetho: 13.0.8.16.12 