0%
PythonJust enough Python, on real digits/15 min

Predict, then run

The task

Graded on three lines the script prints. The script is complete; you do not change it yet.

Read the script. On paper, write what you think each print will show. Then press Run and compare. Two of your guesses will probably be wrong, and the reason is in the debrief.

Then make one change: print the label of image number 100. Run again.

Sign in to start

Exercises need an account.

It is free. Log in or create one, and every attempt and pass is saved to your progress.