Talk:Z20768
Appearance
Latest comment: 1 month ago by Feeglgeef in topic Please check this
Please check this
@Dnshitobu: please check this implementation in the try view and let me know if you experience any errors. Feeglgeef (talk) 03:10, 14 December 2024 (UTC)
- @Feeglgeef Unfortunately, the output is not really great in terms of meaning. Could you share the intended English text let me translate it for you. Dnshitobu (talk) 12:30, 14 December 2024 (UTC)
firstPart = f"{Z20597K1} ({intToRoman(Z20597K1)}) was a {'leap' if leap else 'common'} year starting on {dayOptions[day]} of the Gregorian calendar, "
secondPart = f"the {s(Z20597K1)} year of the Common Era (CE) and Anno Domini (AD) designations, the {s(Z20597K1 % 1000)} year of the {s(Z20597K1 // 1000 + 1)} millennium, the {s(Z20597K1 % 100)} year of the {s(Z20597K1 // 100 + 1)} century, and the {s(Z20597K1 % 10 + 1)} year of the {(Z20597K1 // 10) * 10}s decade."
- Is what the near-end should look like. I will disconnect the implementation. Feel free to add some tests to match what it should look like (ignore :s) Feeglgeef (talk) 16:05, 14 December 2024 (UTC)