Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created July 18, 2022 18:46
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/80b02cfdd699fd766d9b629f180e1493 to your computer and use it in GitHub Desktop.
Save parzibyte/80b02cfdd699fd766d9b629f180e1493 to your computer and use it in GitHub Desktop.
nombre = input("Ingresa tu nombre: ")
if nombre.startswith("L"):
print("Tu nombre comienza con la letra L")
else:
print("Tu nombre NO comienza con la letra L")
if nombre.endswith("z"):
print("Tu nombre termina en z")
else:
print("Tu nombre NO termina en z")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment