Dec-12-2018, 03:58 PM
Hi,
I'm trying to learn Python by myself, and while trying some code to learn more about lists I tried something that didn't output what I did except to... Can you help me and furthermore explain me the reason why it didn't work.
Thanks a lot
I'm trying to learn Python by myself, and while trying some code to learn more about lists I tried something that didn't output what I did except to... Can you help me and furthermore explain me the reason why it didn't work.
empty_list = [] first_var = 1 filled_list = empty_list.append(first_var) print(filled_list)It prints me out "None" instead of [1]…
Thanks a lot