Skip to content

Instantly share code, notes, and snippets.

@parzibyte

parzibyte/uso.py Secret

Created March 12, 2021 02:34
Embed
What would you like to do?
"""
Modo de uso
"""
texto_original = "Parzibyte"
texto_codificado = texto_a_binario(texto_original)
print(f"El texto '{texto_original}' es '{texto_codificado}' en binario")
# Decodificar
original = binario_a_texto(texto_codificado)
print(f"El texto binario '{texto_codificado}' es '{original}'")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment