Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created March 12, 2021 02:10
Embed
What would you like to do?
def ascii_a_binario(letra):
# Extraer su valor entero
valor = ord(letra)
# Convertirlo a binario
return "{0:08b}".format(valor)
@mace25
Copy link

mace25 commented Oct 4, 2021

``

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment