[Tutor] Flood fill algorithm assistance
avi.e.gross at gmail.com
avi.e.gross at gmail.com
Mon Aug 22 20:35:05 EDT 2022
Dina,
Unless you place your code IN THE MESSAGE, we don't see it.
Sorry.
And highlights may also not show up as this works best in text mode.
Consider adding comments right before or something.
-----Original Message-----
From: Tutor <tutor-bounces+avi.e.gross=gmail.com at python.org> On Behalf Of
Dina Vincent
Sent: Monday, August 22, 2022 12:29 PM
To: tutor at python.org
Subject: [Tutor] Flood fill algorithm assistance
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]
_______________________________________________
Tutor maillist - Tutor at python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
More information about the Tutor
mailing list