Skip to content

Instantly share code, notes, and snippets.

@rainshen49
Last active August 20, 2019 22:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rainshen49/c1864e88de2e09174c94c134a6614b5d to your computer and use it in GitHub Desktop.
Save rainshen49/c1864e88de2e09174c94c134a6614b5d to your computer and use it in GitHub Desktop.
def func(s):
return f"!{'!'.join(f'{c}!{c}' for c in s)}!"
def func2():
c=lambda s:", ".join([s]*5)
s="shake"
p="play"
h="hate"
o=", ".join([f"I {s} it off"]*2)
g=" gonna "
b=f"Baby, I'm just{g}{c(s)}"
a=b+"\n"+o
return f"""Cause the {p}ers{g}{c(p)}
And the {h}rs{g}{c(h)}
{a}
Heart-breakers{g}{c('break')}
And the fakers{g}{c('fake')}
{a}"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment