Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajosearcano authored Jul 17, 2024
1 parent a141f02 commit e543d58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ def about():
print("🔑 Bienvenido al Compresor con el Algoritmo de Huffman 🗜️")

selection = ""
while selection != "4":
while selection != "0":
print()
print(" 🌳 🌳 🌳 ")
print()
print("👇 Escoge una opción:")
print("1. 🔰 Comprimir archivo")
print("2. 📥 Descomprimir archivo")
print("3. ❓ Acerca de")
print("4. 🚪 Salir")
print("0. 🚪 Salir")
selection = input("=> ")
print()

Expand All @@ -31,7 +31,7 @@ def about():
decompression.decompress()
case "3":
about()
case "4":
case "0":
print("Hasta la próxima 👋")
print()
case _:
Expand Down

0 comments on commit e543d58

Please sign in to comment.