Created
April 20, 2018 05:58
-
-
Save filipgorczynski/0660c0e88504f25a4b87438e14f2530b 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
from string import Template | |
uczen = 'Alpha Bravo' | |
punkty = 80 | |
tpl = Template("Cześć $uczen. Uzyskałeś $punkty punktów z egzaminu.") | |
print(tpl.substitute(uczen=uczen, punkty=punkty)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment