Question: Task: Compute n * * x In this part of the assignment, you will write a program that, when given positive integers n and x
Task: Compute n x
In this part of the assignment, you will write a program that, when given positive integers n and x will create a list containing xxxx nx
When the program is executed, it will ask the user to enter positive integers n and x and it will store it into variable: n and x This is done for you in the code we have provided at the top of the program between the two ### DO NOT MODIFY ### comments Below the # YOUR CODE HERE comment, you will write the code to create a list called powers containing the following n items:
powers should be x
powers should be x
powers should be x
powersn should be n x
At the bottom of the program between the two ### DO NOT MODIFY ### comments we provide code to print powers in order to display the contents of powers to you in order to help you debug
For example, if you run your program as follows:
Enter positive integer n:
Enter positive integer x:
Your program should print the following:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
