Jan-16-2024, 06:29 PM
I find it less complicated that it seems.
Why it is called an exercise on lists, dunno...?
I think that starting like this
(you save some if .. else statements)
I do use "enumerate", not knowing if that is allowed.
What is our friend the TS doing in the mean time?
Paul
Why it is called an exercise on lists, dunno...?
I think that starting like this
open = True closed = not open cells = [closed] * 100saves you at least 10 lines of code.
(you save some if .. else statements)
I do use "enumerate", not knowing if that is allowed.
What is our friend the TS doing in the mean time?
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.