skip to content
promptdojo
_
[ save your spot ]
[ follow on x ]
Mutation and the action-at-a-distance bug — step 4 of 8
ch 07 · mutation
4/8
promptdojo
_
›
phase 01 · foundations
›
ch 07 · mutation
lesson 1 of 2 · mutation and the action-at-a-distance bug
step 4 of 8 in this lesson
The function modifies the list it receives. What does the final
print
show?
your prediction
Check prediction
Or run the code →
Show hint 1
ch 07 · mutation
4/8
promptdojo
_
›
phase 01 · foundations
›
ch 07 · mutation
lesson 1 of 2 · mutation and the action-at-a-distance bug
step 4 of 8 in this lesson
The function modifies the list it receives. What does the final
print
show?
your prediction
Check prediction
Or run the code →
Show hint 1
park a thought