in [ ]def flatten_nested_lists( )result [for el in xif isinstance(el(listtuple))result extend(flatten_nested_lists(el)elseresult append(elreturn result in [ ]lst [ lst [ lst append(lst lst typeerror traceback (most recent call lastin lst [ lst [ ---- lst append(*lst lst typeerrorappend(takes exactly one argument ( givenin [ ]lst [ [ , ][ [ ]]flatten_nested_lists(lstout[ ][ fibonacci in [ ]def fib( )if = return elif = return elsereturn fib( - fib( - [fib(ifor in range( )out[ ][ how many times do we calculate fib( )