Created
March 23, 2020 23:54
-
-
Save parzibyte/a4a3fb5e3e5287c618d82cee601104aa 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 = "12345" | |
if cadena.isdigit(): | |
print("Cadena válida") | |
else: | |
print("Cadena no válida") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment