Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created June 24, 2021 03:04
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/e4c48149f6efd4f8b9ee232004925feb to your computer and use it in GitHub Desktop.
Save parzibyte/e4c48149f6efd4f8b9ee232004925feb to your computer and use it in GitHub Desktop.
"""
https://parzibyte.me/blog
"""
lista = []
while True:
numero = float(
input("Ingresa un número (ingresa uno negativo para terminar): "))
if numero >= 0:
lista.append(numero)
else:
break
print(lista)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment