promptdojo_

Walking the shape — loops over the data AI hands back — step 7 of 8

Write a loop that sums every number in nums = [10, 20, 30, 40] and prints the total.

Expected output:

100

full-screen editor opens — close anytime to keep reading.