explode_lista

  1. ritvij

    python code not running..

    here's the question: define a procedure that takes in two inputs a list and a number(n) and outputs a new list that contains the original elements of list but repeated n times.. for ex: if input list a is [1, 2, 3] and n=2 answer: [1,1, 2, 2, 3, 3] or if input list is [1, 0, 1] and n=0...
Top Bottom