Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created August 6, 2019 05:37
Show Gist options
  • Save parzibyte/642c49dd9eb9c421ea6436ec021e88dc to your computer and use it in GitHub Desktop.
Save parzibyte/642c49dd9eb9c421ea6436ec021e88dc to your computer and use it in GitHub Desktop.
# Comprobar si no introdujo nada
cadena = input("Escribe algo... ")
if cadena == "":
print("No escribiste nada")
else:
print("Lo que escribiste es: " + cadena)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment