asicsp
Joined 9 years ago
Karma
11,365
Submissions
1,774
Member since
Oct 4
Joined 9 years ago
Next, I'm working on a TUI app (using Textual) for board games like Tic Tac Toe and Connect Four. These will also have a modified rule that requires forming a square instead of a line.
I remember reading a blog post pointing out that the for-loop order stays the same between comprehensions and normal nested code. You write the outer loop first.
Seems like the link changed, and thus not caught by the dupe detector.
https://github.com/learnbyexample
https://learnbyexample.github.io/books/