fork download
  1. def ModificaValores(Valores):
  2. dados = [6,5,4,3,2,1,0]
  3. return dados
  4.  
  5. Valores = [0,1,2,3,4,5,6]
  6.  
  7. print(Valores)
  8. Valores = ModificaValores(Valores)
  9. print(Valores)
Success #stdin #stdout 0.01s 28520KB
stdin
Standard input is empty
stdout
[0, 1, 2, 3, 4, 5, 6]
[6, 5, 4, 3, 2, 1, 0]