Created
July 18, 2013 07:14
-
-
Save muzizongheng/6027316 to your computer and use it in GitHub Desktop.
print examples
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
print("first example") | |
print("second", "example") | |
print("%s"%("third example")) | |
print("%(forth)s"%{'forth':'forth example'}) | |
fifth = "fifth example" | |
print("%(fifth)s"%vars()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment