Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created July 4, 2019 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/16d8ba1f007a0f5354ffadb4857a1092 to your computer and use it in GitHub Desktop.
Save parzibyte/16d8ba1f007a0f5354ffadb4857a1092 to your computer and use it in GitHub Desktop.
"""
Simple (pero no tan eficaz) manera de comprobar si es correo en Python
@author parzibyte
"""
correo = "contacto@parzibyte.me"
if "@" in correo:
print("Es válido")
else:
print("No es válido")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment