File "C:\Users\jlagg\stackprinter\demo.py", line 46, in <module> 43 anotherlist = [['5', 6]] 44 spam = numpy.zeros((3,3)) 45 supersecret = "you haven't seen this" --> 46 dangerous_function(somelist + anotherlist) 47 except: .................................................. anotherlist = [['5', 6]] spam =supersecret = ***** somelist =[[0. 0. 0. ...
array([[0., 0., 0.], [0., 0., 0.], [0., 0., 0.]]).................................................. File "C:\Users\jlagg\stackprinter\demo.py", line 6, in dangerous_function 5 def dangerous_function(blub): --> 6 return sorted(blub, key=lambda xs: sum(xs)) .................................................. blub =[[1, 2], [ ...
[[1, 2], [3, 4]].................................................. File "C:\Users\jlagg\stackprinter\demo.py", line 6, in <lambda> 3 4 5 def dangerous_function(blub): --> 6 return sorted(blub, key=lambda xs: sum(xs)) 7 .................................................. xs = ['5', 6] .................................................. TypeError: unsupported operand type(s) for +: 'int' and 'str'[[1, 2], [ ...
[[1, 2], [3, 4], ['5', 6]]