tracebacks — cursor wrote this and crashed5 / 9
print and breakpoint — finding the bad value before ai does
Cursor wrote a function that's giving the wrong total. You want to
trace the value of result on each iteration. Fill in the built-in
on line 5 that prints to the console.
Built-in:
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _