Created
April 20, 2018 05:08
-
-
Save filipgorczynski/65757e7f1c8402f5b8006d16c3cbeb21 to your computer and use it in GitHub Desktop.
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
>>> test = u'ë́aúlt' # znaki można policzyć na palcach jednej ręki (dla regionów oddalonych od Czarnobyla) | |
>>> len(test) | |
6 | |
>>> # Hmm, chyba jednak jesteśmy blisko uszkodzonego reaktora... | |
>>> for c in test: | |
... print("{} - {}".format(c, len(c))) | |
... | |
ë - 1 | |
- 1 | |
a - 1 | |
ú - 1 | |
l - 1 | |
t - 1 | |
>>> # i wszystko "jasne"... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment