Question
Implement a function that meets the specifications below. def deep_reverse(L): assumes L is a list of lists whose elements are ints Mutates L such
Implement a function that meets the specifications below.
def deep_reverse(L):
""" assumes L is a list of lists whose elements are ints Mutates L such that it reverses its elements and also reverses the order of the int elements in every element of L. It does not return anything. """
# Your code here
#For example, if L = [[1, 2], [3, 4], [5, 6, 7]] then deep_reverse(L) mutates L to be [[7, 6, 5], [4, 3], [2, 1]]
#Paste your entire function, including the definition, in the box below. Do not leave any debugging print statements.
# Paste your function here
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started