Sql Year Function In Python Programming