Created
March 23, 2020 23:08
-
-
Save parzibyte/e33d13fc3645dc0de3473a57ca79bbf9 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
cadena = "Hola" | |
if cadena.isalpha(): | |
print("Ok solo tiene letras del alfabeto") | |
else: | |
print("La tiene caracteres que no son del alfabeto") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment