skip to content
promptdojo
_
[ save your spot ]
[ follow on x ]
Arguments, defaults, and the silent wrong-order bug — step 4 of 9
ch 02 · functions
4/9
promptdojo
_
›
phase 01 · foundations
›
ch 02 · functions
lesson 2 of 3 · arguments, defaults, and the silent wrong-order bug
step 4 of 9 in this lesson
Two calls. The first uses the default, the second overrides it. What does this print?
your prediction
Check prediction
Or run the code →
Show hint 1
ch 02 · functions
4/9
promptdojo
_
›
phase 01 · foundations
›
ch 02 · functions
lesson 2 of 3 · arguments, defaults, and the silent wrong-order bug
step 4 of 9 in this lesson
Two calls. The first uses the default, the second overrides it. What does this print?
your prediction
Check prediction
Or run the code →
Show hint 1
park a thought