Where is the mistake? I do not understand.
def b(strng): sym=' ,.-?!";:)(' num='0123456789Z' strong=strng for i in range(11): strong=strong.replace(sym(i),num(i)) answer=sum(seq1[strong[i]]*62**i for i in range(len(strong)))*2 answer=''.join(seq2[answer//(62**i)%62] for i in range(int((log(answer)/log(62)))+1)) return answer Here is the error itself:
Traceback (most recent call last): File "/home/maxwell/pseudo.py", line 62, in <module> print(b('Cipher')) File "/home/maxwell/pseudo.py", line 49, in b strong=strong.replace(sym(i),num(i)) TypeError: 'str' object is not callable