Python Same Method Differentiation Rules Practice