Find a program to sum of …
CBSE, JEE, NEET, CUET
Question Bank, Mock Tests, Exam Papers
NCERT Solutions, Sample Papers, Notes, Videos
Posted by Thakur Abhishek Raghuvanshi 3 years, 1 month ago
- 2 answers
Anmol Chawla 3 years, 1 month ago
Related Questions
Posted by Manasvi Bhutada 5 months ago
- 1 answers
Posted by Jaysundar Vc 5 months ago
- 0 answers
Posted by Jeevesh Jeevesh 4 months, 4 weeks ago
- 1 answers
Posted by Catherine Tympuiñ 4 months, 1 week ago
- 1 answers
Posted by Payal Kumari 8 months, 1 week ago
- 0 answers
Posted by Catherine Tympuiñ 4 months, 1 week ago
- 0 answers
Posted by Sameeha _ 3 months, 3 weeks ago
- 0 answers
Posted by S A 4 months, 2 weeks ago
- 0 answers
Posted by Sanchi Kohati 4 months, 1 week ago
- 0 answers
myCBSEguide
Trusted by 1 Crore+ Students
Test Generator
Create papers online. It's FREE.
CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app
Preeti Dabral 3 years, 1 month ago
# python program to find the sum of series: 1 + x² + x³ + ... + xⁿ
n = int(input('Enter the value of n: '))
x = int(input('Enter the value of x: '))
sum_of_series = 0
for i in range(n+1):
sum_of_series += pow(x,i)
print('Sum of the series is:', sum_of_series)
1Thank You