shey21811 shey21811 02-01-2024 Computers and Technology contestada write a python program to input the value of x and n and print the sum of 1-x+x²-x³+x⁴+...........xⁿ