Is it possible to declare a variable in Python, like so?:
var
so that it initialized to None? It seems like Python allows this, but as soon
Is it possible to declare a variable in Python (var=None):
def decl_var(var=None): if var is None: var = [] var.append(1) return var