Question: use while loop please Create a Python function called product OfPowersOf 10 which takes two arguments , both of which are non - negative integers

use while loop please

Create a Python function called

product

OfPowersOf

10

which takes

two arguments

,

both

of

which are

non

-

negative integers

. For purposes of this problem, let's call the first argument

exp1

and the

second argument

exp2

. Your function should compute and return

(not print

) the

product of all powers of 10 from 10

exp1

to 10

exp2

.

Here are some examples of how your

function should behave:

>>> productOfPowersOf10(0,0)

1

>>> productOfPowersOf10(1,1)

10

>

>> productOfPowersOf10(1,2)

1000

>>> productOfPowersOf10(1,3)

1000000

>>> productOfPowersOf10(1,4)

10000000000

>>> productOfPowersOf10(2,4)

1000000000

>>> productOfPowersOf10(3,9)

1000000000000000000000000000000000000000000

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!