Skip to content

Instantly share code, notes, and snippets.

Created October 8, 2016 18:04
Show Gist options
  • Save anonymous/70efffeae8cbadadb6d4db6d20105681 to your computer and use it in GitHub Desktop.
Save anonymous/70efffeae8cbadadb6d4db6d20105681 to your computer and use it in GitHub Desktop.
fatdragon-dart
import 'dart:math';
List values(int length) {
List v = [];
Random r = new Random();
for (int i = 0; i < length; i++) {
v.add(r.nextInt(100));
}
return v;
}
void main() {
List v = values(10);
print(v);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment