Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda With broken test | First Section
Explain Unit test on grid chapter

Deslize para mostrar o menu

book
With broken test

Here test broken

Tarefa

Swipe to start coding

You have a list of integers stored in the variable numbers. Your task is to compute the sum of all elements in this list and assign the result to the variable total. The total variable should be of type int. You are not allowed to use the built‐in sum() function — you must implement the summation manually (e.g. with a loop). Finally, print the result in the format:

python

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 2

Pergunte à IA

expand
ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

book
With broken test

Here test broken

Tarefa

Swipe to start coding

You have a list of integers stored in the variable numbers. Your task is to compute the sum of all elements in this list and assign the result to the variable total. The total variable should be of type int. You are not allowed to use the built‐in sum() function — you must implement the summation manually (e.g. with a loop). Finally, print the result in the format:

python

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 2
Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Sentimos muito que algo saiu errado. O que aconteceu?
some-alt