WAP in C++ and Python to find the sum of the series x+ x2/2 +x3/3 + ……. +xn/n

WAP in C++ and Python to find the sum of the series x+ x2/2 +x3/3 + ……. +xn/n

Sum of the series is a common mathematical series that has several uses, and thus, is important. It…