Join Slack
Communities
Powered by
is there a nice way to turn a list of pairs into a...
# getting-started
b
Bernhard
01/16/2025, 1:25 PM
is there a nice way to turn a list of pairs into a pair of lists?
✅ 1
g
giorgos
01/16/2025, 1:29 PM
val (firsts, seconds) = listOfPairs.unzip()
🧠 3
🔥 1
K 1
b
Bernhard
01/16/2025, 1:30 PM
thank you
Open in Slack
Previous
Next