• + 13 comments

    Great!! I used

     eval('arr.{0}{1}'.format(cmd,tuple(map(int,arg))))
    
    #instead of 
    
    cmd += "("+ ",".join(args) +")"
        eval("l."+cmd)
                #and  It works