(Solved) : Optional Bonus Problem 3 Extra Credit Points Attempt Problem Completed Rest Exam Additiona Q41377399 . . .

This is an optional bonus problem for up to 3 extra credit points. Only attempt this problem you have completed the rest of t

Please solve in python

This is an optional bonus problem for up to 3 extra credit points. Only attempt this problem you have completed the rest of the exam and have additional time. write a function rotate right that takes a 20 list and returns the 2D list rotated to the right. You may assume all rows are the same length 1 4 7 10 2 5 8 11 3 6 9 12 10 11 12 7 8 9 4 5 6 2 3 For example: grid = ( [1, 2, 3], [4, 5, 6), (7, 8, 9), [10, 11, 12] ] rotate_right(grid) would return the 2D list: [ [10, 7, 4, 1], [11, 8, 5, 2], [12, 9, 6, 3] ] Write your function here: Show transcribed image text This is an optional bonus problem for up to 3 extra credit points. Only attempt this problem you have completed the rest of the exam and have additional time. write a function rotate right that takes a 20 list and returns the 2D list rotated to the right. You may assume all rows are the same length 1 4 7 10 2 5 8 11 3 6 9 12 10 11 12 7 8 9 4 5 6 2 3 For example: grid = ( [1, 2, 3], [4, 5, 6), (7, 8, 9), [10, 11, 12] ] rotate_right(grid) would return the 2D list: [ [10, 7, 4, 1], [11, 8, 5, 2], [12, 9, 6, 3] ] Write your function here:

Expert Answer


Answer to This is an optional bonus problem for up to 3 extra credit points. Only attempt this problem you have completed the rest…