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

Draw one digit in text

The task

Graded on two rows of the picture your script prints.

digits.images[0] is eight rows of eight numbers. Finish the loop so that each row becomes a line of eight characters: # where the pixel is brighter than 6, . where it is not. Print each line. You should see a zero.

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.