Last active
August 20, 2019 22:41
-
-
Save rainshen49/c1864e88de2e09174c94c134a6614b5d 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 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