fork download
  1. numeros = [7, 3, 10, 1, 5, 9]
  2. mayor = max (numeros)
  3. menor = min (numeros)
  4. for resultado in numeros:
  5. resultado = mayor - menor
  6. print (resultado)
  7.  
  8.  
Success #stdin #stdout 0.1s 14132KB
stdin
Standard input is empty
stdout
9