Back to the email S Steve Phillips / @elimisteve January 29, 2025, evening Reasonable post overall, but in defense of Python, instead of [i for i, (a, b) in enumerate(zip(x, y)) if a == b] you could do [i for i in range(len(x)) if x[i] == y[i]] ...and in my new, currently-unannounced programming language, Voltair, one could do [i for i in 0 to x.len if x[i] == y[i]] You're not signed in. Posting this comment will subscribe you to this newsletter with the email address you enter below. Reply and Subscribe
Reasonable post overall, but in defense of Python, instead of
[i for i, (a, b) in enumerate(zip(x, y)) if a == b]you could do
[i for i in range(len(x)) if x[i] == y[i]]...and in my new, currently-unannounced programming language, Voltair, one could do
[i for i in 0 to x.len if x[i] == y[i]]