I’ve been getting this error for several problems: Function did not correctly modify the value of argument number 1.
Could you please help me understand.
https://app.dataquest.io/m/1018/lists/17/extending-lists
def insert(list1,obj,idx):
return list1[:idx]+[obj]+list1[idx:]
Function insert did not correctly modify the value of argument number 1.