Created
October 24, 2022 03:00
-
-
Save Tokiyomi/1a9b42fef53c4e8ffe864ecb0153dcbc to your computer and use it in GitHub Desktop.
dart punched cards
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
// 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