Python Geschäftsjahr zuvor

import fiscalyear

fiscalyear.START_MONTH = 7

targetFiscalYear = fiscalyear.FiscalYear.current()  
# returns: FY2022 Type: FiscalYear
intTargetFiscalYear = fiscalyear.FiscalYear.current().fiscal_year 
# returns: 2022 Type: int
prevFiscalYear = fiscalyear.FiscalYear.current().prev_fiscal_year  
# returns: FY2021 Type: FiscalYear
intPrevFiscalYear = fiscalyear.FiscalYear.current().prev_fiscal_year.fiscal_year 
# returns: 2021 Type: int
Trained Tuna