Feb-26-2018, 07:37 AM
i return something like this from function:
please help!
def f(): d = dict() # fill dict d["s"] return (1, d)then:
ret = f() d = ret[1] print (d["s"])on print line i get "sequence is not an int, slice or ... __index__"
please help!