Skip to content

Instantly share code, notes, and snippets.

@Tokiyomi
Created October 24, 2022 03:00
Show Gist options
  • Save Tokiyomi/1a9b42fef53c4e8ffe864ecb0153dcbc to your computer and use it in GitHub Desktop.
Save Tokiyomi/1a9b42fef53c4e8ffe864ecb0153dcbc to your computer and use it in GitHub Desktop.
dart punched cards
// Top left print
String top_left_plus = "..";
for (int i = 0; i < cols - 1 ; i ++) {
top_left_plus += "+-";
}
top_left_plus += "+";
print(top_left_plus);
String top_left_bars = "..";
for (int i = 0; i < cols - 1 ; i ++) {
top_left_bars += "|.";
}
top_left_bars += "|";
print(top_left_bars);
// End of top left print
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment