Python Main Function And Its Derivative Graph