Question: Using python, Write a function sum(base, num) which returns the sum of numbers of the following series using a while loop: base**0 + base**1 +
Using python, Write a function sum(base, num) which returns the sum of numbers of the following series using a while loop:
base**0 + base**1 + ... + base**(num-1)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
