PASO 9: Encontramos la suma de todos los valores en la lista. Recuerda que también necesitamos encontrar el número de valores.

  • En la pestaña LÓGICA, haga clic en . Arrastra Get Length of List y suéltalo FUERA de tu bucle.
  • Cambie el nombre a num_values . Cambie el argumento entre paréntesis a my_data .

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Enviar Trabajo
  • Actividad Siguiente
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)