Write A Python Program For Implementing Linear And Nonlinear