Convert C++ code to Python please!
The following function computes by summing the Taylor seriesexpansion to n terms. Write a program to print a table of
using both this function andthe exp() function from the math library, for x = 0 to 1 in stepsof 0.1. The program should ask the user what value of n touse.
def taylor(x, n): sum = 1 term = 1
PayPal Gateway not configured
PayPal Gateway not configured