This file was added
Last active
April 25, 2020 09:15
-
-
Save kevinnls/006f0c386ec7ef3012207307a50f3d90 to your computer and use it in GitHub Desktop.
experimenting with string formatting in Python
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("Hello!\nMy name is {} and I am {} years old".format()) | |
print("Hello!\nMy name is {} and I am {} years old".format("John Doe","00")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment