Skip to content

Instantly share code, notes, and snippets.

@stephengruppetta
Created November 22, 2023 23:21
Show Gist options
  • Save stephengruppetta/648e187ffa687412407509038f2918f1 to your computer and use it in GitHub Desktop.
Save stephengruppetta/648e187ffa687412407509038f2918f1 to your computer and use it in GitHub Desktop.
# 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