[Tutor] Flood fill algorithm assistance

Dina Vincent cdp.bty at gmail.com
Mon Aug 22 12:29:09 EDT 2022


Hi

I need some guidance on completing this python programme.

Some step to step guidance on the process.



Can you help me with two highlighted sections of this code.

The code has to  implement the flood fill algorithm, identifys and changes
the marked pixels.

   - blank pixels are ignored.
   - From what I understand I can use any breadth first search algorithm.
   - If you could offer some advice on how I might proceed - Just the two
   yellow highlighted bits

The code is partially written below.

DO NOT re-write any code. *Just need assistance where it's highlighted in
yellow*


[image: IMG_6AD92D3EFA1F-1 2.jpeg]


More information about the Tutor mailing list