Skip to content

Instantly share code, notes, and snippets.

@kevinnls
Last active April 25, 2020 09:15
Show Gist options
  • Save kevinnls/006f0c386ec7ef3012207307a50f3d90 to your computer and use it in GitHub Desktop.
Save kevinnls/006f0c386ec7ef3012207307a50f3d90 to your computer and use it in GitHub Desktop.
experimenting with string formatting in Python

I added this file

This file was added

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