Created
January 1, 2021 15:09
-
-
Save LouisdeBruijn/4ef8f59654a65591c70abb736e1be0dd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| s = "This string" | |
| print(f"The length of |{s}| is {len(s)} characters and contains {len(s.split())} tokens.") | |
| >>> "The length of |This string| is 11 characters and contains 2 tokens." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment