Have a look at the node class below, There you can see wordlist and adjacencyList variables, where these two variables are shared between all instance of the node.
>>> class Node:
... def __init__(self, wordList = [], adjacencyList = []):
... self.wordList = wordList
... self.adjacencyList = adjacencyList
...
>>> a = Node()
>>> b = Node()
>>> a.wordList.append("hahaha")
>>> b.wordList
['hahaha']
>>> b.adjacencyList.append("hoho")
>>> a.adjacencyList
['hoho']
In the python 3.1.2 version, Is there any way I can continue utilizing the default value for the constructor parameters yet to get both an and b to have their own wordList and adjacencyList variables?