Skip to content

Instantly share code, notes, and snippets.

@thurask
Last active June 28, 2016 15:36
Show Gist options
  • Save thurask/9030489c63d4688edf3817e536b930b9 to your computer and use it in GitHub Desktop.
Save thurask/9030489c63d4688edf3817e536b930b9 to your computer and use it in GitHub Desktop.
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