Skip to content

Instantly share code, notes, and snippets.

@solsticedhiver
Created April 21, 2023 17:33
Show Gist options
  • Save solsticedhiver/b9502f6963a67f21357989a1d981825a to your computer and use it in GitHub Desktop.
Save solsticedhiver/b9502f6963a67f21357989a1d981825a to your computer and use it in GitHub Desktop.
windy-tundra-9535
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