def a(z=[]) z.push 'a'enda # retorna ["a"]a # retorna ["a"]a # retorna ["a"]a # retorna ["a"]
def a(z=[]): z.append('a') return za() # retorna ['a']a() # retorna ['a','a']a() # retorna ['a','a','a']a() # retorna ['a','a','a','a']