Codercise S.5.2

I am getting this error

Error: decode() takes 1 positional argument but 3 were given

Hi @Mukul,

I cannot replicate your error. Did you change the definition of the decode function? It should be
def decode(d, N, code):

I hope this helps you