SilentHealer584
New Coder
I got some code here(can anyone help solve this problem?):
Basically it is a Letter to Binary translator (i made it my self and im very happy of how it turned out🙂)
, the only problem is it can only translate one letter at a time, does anyone have any idea of how I can make it translate entire words, or even sentences ?
JavaScript:
while True:
n = raw_input("Ltr:")
if n.strip() == 'a':
print("01100001")
repeat='while True'
if n.strip() == 'b':
print("01100010")
repeat='while True'
#it goes on for every letter of the english alphabet
Basically it is a Letter to Binary translator (i made it my self and im very happy of how it turned out🙂)
, the only problem is it can only translate one letter at a time, does anyone have any idea of how I can make it translate entire words, or even sentences ?