how to create a cubic function in python 3

Solutions on MaxInterview for how to create a cubic function in python 3 by the best coders in the world