Skip to content

Instantly share code, notes, and snippets.

@merltron-pa
Created January 13, 2020 11:21
Show Gist options
  • Save merltron-pa/ea66e7140e8cd05913c3738586f5c5d4 to your computer and use it in GitHub Desktop.
Save merltron-pa/ea66e7140e8cd05913c3738586f5c5d4 to your computer and use it in GitHub Desktop.
print("How long is %s? Well, it's %s characters long of course!" % ("a piece of string", len("a piece of string")))
# OUTPUT: How long is a piece of string? Well, it's 17 characters long of course!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment