A have a real problem (and a headache) with an assignment...
I\'m in an introductory programming class, and I have to write a function that, given a list, will retur
If you're looking for a quick fix
def getDepth(matrix): try: len(matrix) return getDepth(matrix[0]) + 1 except: return 0