Python Store dynamic data
===

<br>
I don't know if the heading makes sense... but this is what I am trying to do using list

    >>> x = 5
    >>> l = [x]
    >>> l
    [5]
    >>> x = 6
    >>> l
    [5]	# I want l to automatically get updated and wish to see [6]
    >>> 

The same happens with dict, tuple. Is there a python object that can store the dynamic value of variable?

Thanks,