# creating a list myList = [] # appending to a list myList.append(0) # printing a list for node in myList: print node