-
-
Save stephengruppetta/648e187ffa687412407509038f2918f1 to your computer and use it in GitHub Desktop.
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
# Code to create the layout | |
s1 = "" | |
s2 = "" | |
for s in "ABCDE": | |
s1 = s1 + s*3 | |
for s in "FGH": | |
s2 = s2 + s*5 | |
mosaic = s1 + "\n" + s2 + "\n" + "I"*15 | |
print(mosaic) | |
# The output | |
# AAABBBCCCDDDEEE | |
# FFFFFGGGGGHHHHH | |
# IIIIIIIIIIIIIII |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment