Last active
June 28, 2016 15:36
-
-
Save thurask/9030489c63d4688edf3817e536b930b9 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
def acrost(x, reddit=False, rbold=False): | |
words = x.split(" ") | |
for word in words: | |
b = "#" if rbold else "" | |
print(b + word) | |
if reddit: | |
print("") | |
q = "\n" if reddit else "" | |
for letter in word[1:]: | |
print(b + letter + q) | |
print("") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment