Created
August 1, 2019 05:39
-
-
Save nekoppy/3c86809f68e323f38a498b292118ad6c to your computer and use it in GitHub Desktop.
format()-input
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
atesaki = "佐藤" | |
okurinusi = "山田" | |
kinngaku = 10000 | |
text_template = '''{}様 | |
株式会社NEKOPPYの{}です。 | |
今月の請求金額は{}円です。 | |
よろしくお願いいたします。''' | |
text=text_template.format(atesaki, okurinusi, kinngaku) | |
print(text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment