With broken test
Here test broken
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:
Total: <total>
Solution
Merci pour vos commentaires !
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Résumer ce chapitre
Expliquer le code dans file
Expliquer pourquoi file ne résout pas la tâche
Awesome!
Completion rate improved to 33.33
With broken test
Glissez pour afficher le menu
Here test broken
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:
Total: <total>
Solution
Merci pour vos commentaires !
Awesome!
Completion rate improved to 33.33single