Created with <3 with dartpad.dev.
Created
April 21, 2023 17:33
-
-
Save solsticedhiver/b9502f6963a67f21357989a1d981825a to your computer and use it in GitHub Desktop.
windy-tundra-9535
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
import 'dart:math'; | |
void main() { | |
var rng = Random(); | |
List<List<int>> integers = List.generate( | |
15, (int i) => List.generate(5, (int j) => rng.nextInt(89)+10)); | |
print(integers); | |
for (var L in integers) { | |
print(L.map((i) => [i, L.indexOf(i)]).toList()); | |
} | |
return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment