Question: can you guys please help me to do this problem using Python with Jupyter ? thanks Write a Python program that prompts the user to

Write a Python program that prompts the user to enter the number of rows and columns of a matrix. Generate a matrix of size entered by the user. Populate the matrix with random numbers between 2 and 30 (Hint: random.randint(2,30)). Seed the random number generator with 132. Your program should modify the matrix in such a way that, first and last columns are swapped. Enter the number of rows 4 Enter the number of columns 6 Original Matrix [15.6.15.3.30.7.]] [30. 3. 11. 5. 29. 26.] [27. 28. 19. 2. 9. 16.] [10. 8. 27. 16. 7. 23.]] Modified Matrix [ [ 7. 6.15. 3. 30. 15.] [26. 3. 11. 5. 29. 30.] [16. 28. 19. 2. 9. 27.] [23,8,27,16,7,10]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
