Appending live data to a list in python

Hello everyone,

With the basic knowledge of python, I was trying to add the data to the list in python, but it only creates an instance of the object to the list and doesn't add the data. Is there anyway in which I could expand the list by storing the data.

Much appreciate your help thanks.