Sql Year Function In Python Practice