Global Business Hours LIVE
🇺🇸USA:EDT
🇬🇧UK:BST
🇨🇦Canada:EDT
🇦🇺Australia:AEDT
BizAIProBizAIPro
LEARN BY DOING

Trace an accumulator

Read the specification, make an attempt and learn from the feedback. Assessment cases remain on the server.

Medium · OUTPUT PREDICTION

Trace an accumulator

For amounts = [10, 20, 5], total starts at 0 and adds each amount. Enter the final printed total. Verify with a local Python script.

Learn for free. Practice for real. Build your future.Search lessons