william Owens812 Points
Why shouldn't I use extend to add only one item
In the video he said to use append for adding one item to the list and extend for two or more items only. I tried using extend to add just one number to the list and it worked fine. Is there any particular reason to use append? i'm using python 3.6.4 if it matters.