Created
January 15, 2018 16:41
-
-
Save Fhernd/6299242743f400350f675d39ae256a5e to your computer and use it in GitHub Desktop.
Estadísticas básicas sobre cadenas de caracters en 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
escritor = 'Dostoevsky' | |
print (len(escritor)) | |
print (min(escritor)) | |
print (max(escritor)) | |
print (escritor.count('o')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment