Hi I dont want the extra bracket inside the list thats been outputted so how would I fix that?
This is the code:
def my_code(list1, list2, index):
index = ['a','b','c']
list2 = [2]
list1 = [1,2,3]
list1.insert(2,index)
return list1
and it returns:
[1, 2, ['a', 'b', 'c'], 3]
I dont want the brackets from inside!