Computer Science, asked by Anonymous, 3 months ago

please give me the solution for long encoded string in python or c​

Answers

Answered by Anonymous
0

Answer:

The Ninth Commandment of the Ten Commandments could refer to: "Thou shalt not bear false witness against thy neighbour" under the Philonic division used by Hellenistic Jews, Greek Orthodox and Protestants except Lutherans, or the Talmudic division of the third-century Jewish Talmud.

Answered by Anonymous
1

\huge{\fbox {\tt \red{Answer}}}

I have a dictionary assembled in the format {'character to be encoded':'corresponding binary code', etc.}. I've been encoding like this:

def encode(self, text):

def encode(self, text): encoded = ""

def encode(self, text): encoded = "" def generator():

def encode(self, text): encoded = "" def generator(): for ch in text:

def encode(self, text): encoded = "" def generator(): for ch in text: yield self.codes[ch] # Get the encoded representation from the dictionary

def encode(self, text): encoded = "" def generator(): for ch in text: yield self.codes[ch] # Get the encoded representation from the dictionary return ''.join(generator())

Similar questions