News for hackers. Stuff that matters.
Re:A Pirate's Guide to Accuracy, Precision, Recall, and Othe... by mason_jake on Monday November 18, 2019 @12:03PM (#21565937)
Python dev for 5 years: personally I like `[1 for _ in range(10)]` and `[1] * 10`. The `for _ in` syntax denotes the variable is basically a throwaway, whereas the `for n in` construct is a bit confusing - almost like we're supposed to be doing something with the `n` in the comprehension.

There are no comments on this comment yet.