I was doing the append_size code challenge for python 3 and had a question as to why this didn’t work.
#Write your function here
length = len(lst)
new_lst = lst.append(length)
#Uncomment the line below when your function is done
print(append_size([23, 42, 108]))
I later skipped the part where i made new_lst = lst.append(length) and simply dropped the new_lst, making it work! I just want to know why if I make a new list it gives the outcome of None.