Python Get All Functions Algebra Test