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

Swipe to show menu

book
With broken test

Here test broken

Task

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

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 2

Ask AI

expand
ChatGPT

Ask anything or try one of the suggested questions to begin our chat

book
With broken test

Here test broken

Task

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

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 2
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt