Z28380

{
    "Z1K1": "Z2",
    "Z2K1": {
        "Z1K1": "Z6",
        "Z6K1": "Z28380"
    },
    "Z2K2": {
        "Z1K1": "Z14",
        "Z14K1": "Z28378",
        "Z14K3": {
            "Z1K1": "Z16",
            "Z16K1": "Z610",
            "Z16K2": "def Z28378(Z28378K1):\r\n    import datetime\r\n\r\n    def to_bengali_numeral(n):\r\n        english_digits = \"0123456789\"\r\n        bengali_digits = \"০১২৩৪৫৬৭৮৯\"\r\n        translation_table = str.maketrans(english_digits, bengali_digits)\r\n        return str(n).translate(translation_table)\r\n\r\n    def to_bengali_ordinal(n, for_century=False):\r\n        bengali_num = to_bengali_numeral(n)\r\n        if for_century and n == 21:\r\n            return f\"{bengali_num}শ\"\r\n        if n in [2, 3]: return f\"{bengali_num}য়\"\r\n        if n == 4: return f\"{bengali_num}র্থ\"\r\n        if n == 6: return f\"{bengali_num}ষ্ঠ\"\r\n        if n in [1, 5, 7, 8, 9, 10]: return f\"{bengali_num}ম\"\r\n        if n \u003E= 11:\r\n            return f\"{bengali_num}-তম\"\r\n        return f\"{bengali_num}-তম\"\r\n\r\n    dayOptions_bn = (\"সোমবার\", \"মঙ্গলবার\", \"বুধবার\", \"বৃহস্পতিবার\", \"শুক্রবার\", \"শনিবার\", \"রবিবার\")\r\n    day_index = datetime.datetime(1600 + Z28378K1 % 400, 1, 1).weekday()\r\n    day_bn = dayOptions_bn[day_index]\r\n\r\n    if Z28378K1 \u003E 0:\r\n        year = Z28378K1\r\n        leap = (year % 4 == 0 and (year % 100 != 0 or year % 400 == 0))\r\n        year_type_bn = \"অধিবর্ষ\" if leap else \"সাধারণ বছর\"\r\n        \r\n        millennium_num = (year - 1) // 1000 + 1\r\n        millennium_year_num = (year - 1) % 1000 + 1\r\n        century_num = (year - 1) // 100 + 1\r\n        century_year_num = (year - 1) % 100 + 1\r\n        decade = (year // 10) * 10\r\n        decade_year_num = (year - 1) % 10 + 1\r\n\r\n        firstPart = f\"গ্রেগরীয় বর্ষপঞ্জী অনুসারে, {to_bengali_numeral(year)} সাল ছিল একটি {year_type_bn} যা {day_bn} থেকে শুরু হয়।\"\r\n        secondPart = f\"এটি ছিল সাধারণ অব্দ ও খ্রিস্টাব্দের {to_bengali_ordinal(year)} বর্ষ, {to_bengali_ordinal(millennium_num)} সহস্রাব্দের {to_bengali_ordinal(millennium_year_num)} বর্ষ, {to_bengali_ordinal(century_num, for_century=True)} শতাব্দীর {to_bengali_ordinal(century_year_num)} বর্ষ এবং {to_bengali_numeral(decade)}-এর দশকের {to_bengali_ordinal(decade_year_num)} বর্ষ।\"\r\n    else:\r\n        yearBC = 1 - Z28378K1\r\n        leap = (yearBC % 4 == 0 and (yearBC % 100 != 0 or yearBC % 400 == 0))\r\n        year_type_bn = \"অধিবর্ষ\" if leap else \"সাধারণ বছর\"\r\n        \r\n        millennium_num = (yearBC - 1) // 1000 + 1\r\n        millennium_year_num = (yearBC - 1) % 1000 + 1\r\n        century_num = (yearBC - 1) // 100 + 1\r\n        century_year_num = (yearBC - 1) % 100 + 1\r\n        \r\n        decade = (yearBC // 10) * 10\r\n        \r\n        decade_year_num = (decade + 10) - yearBC\r\n\r\n        firstPart = f\"গ্রেগরীয় বর্ষপঞ্জী অনুসারে, {to_bengali_numeral(yearBC)} খ্রিস্টপূর্বাব্দ ছিল একটি {year_type_bn} যা {day_bn} থেকে শুরু হয়।\"\r\n        secondPart = f\"এটি ছিল সাধারণ পূর্বাব্দ ও খ্রিস্টপূর্বাব্দের {to_bengali_ordinal(yearBC)} বর্ষ, {to_bengali_ordinal(millennium_num)} সহস্রাব্দ খ্রিস্টপূর্বাব্দের {to_bengali_ordinal(millennium_year_num)} বর্ষ, {to_bengali_ordinal(century_num, for_century=True)} শতাব্দী খ্রিস্টপূর্বাব্দের {to_bengali_ordinal(century_year_num)} বর্ষ এবং {to_bengali_numeral(decade)}-এর দশক খ্রিস্টপূর্বাব্দের {to_bengali_ordinal(decade_year_num)} বর্ষ।\"\r\n        \r\n    return f\"{firstPart} {secondPart}\""
        }
    },
    "Z2K3": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11",
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1002",
                "Z11K2": "intro for year in Bangla, python"
            }
        ]
    },
    "Z2K4": {
        "Z1K1": "Z32",
        "Z32K1": [
            "Z31"
        ]
    },
    "Z2K5": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11"
        ]
    }
}