fork(2) download
  1. donos=[]
  2. def calcula_media():
  3. lista_dicionario = [1,2,3]
  4. donos.extend(lista_dicionario)
  5.  
  6. def funcao2():
  7. print(donos)
  8.  
  9. calcula_media()
  10. funcao2()
Success #stdin #stdout 0.02s 9984KB
stdin
Standard input is empty
stdout
[1, 2, 3]