Last active
June 3, 2020 14:04
-
-
Save pasindud/fb5b8834db61a1409d46420c892439fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
final a = ['a', 'b', 'c']; | |
final b = [ | |
for (final s in a) | |
for (final t in a) if (s != t) '${s}_$t' | |
]; | |
print(b); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment