Question: could you also please explain how you did it using python Part 2 Write some code to print all of the powers of n less
Part 2 Write some code to print all of the powers of n less than 10,000, inclusive, assuming a variable n already contains a positive integer. The output should show each number on a separate line, as below. The output below assumes the following initialization for n: n = 3 Sample Output for Part 2: 243 729 2187 6561
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
