Can i have some help with this?

i really need some help with my code, this is a secret code project i’m making and i ran into a big problem
here is my code, please help
z={“a”:"/",
“b”:"//",
“c”:"/-/",
“d”:"///",
“e”:"/-/",
“f”:"-_-/",
“g”:"–
–",
“h”:"//–////",
“i”:"—//
//—",
“j”:"/–//–
/",
“k”:"
/–/-/-/",
“l”:"——//–/
",
“m”:"/—/",
“n”:"/–/",
“o”:"——-//—",
“p”:"/–——
",
“q”:"
–/
-",
“r”:"
–///-/",
“s”:"-/-///
/-",
“t”:"////——/",
“u”:"////-/-//-",
“v”:"/
_-/-————",
“w”:"//–—
//------",
“x”:"///———————————————",
“y”:"/–————–//",
“z”:"-
--//-/-",
" “:”|",}

cut_g={"/":“a”,
“//”:“b”,
“/-/”:“c”,
“///": “d”,
“/-/”: “e”,
“-_-/”:“f”,
"–
–”:“g”,
“//–////":“h”,
"—//
//—":“i”,
"/–//–
/":“j”,
"
/–/-/-/":“k”,
"——//–/
”:“l”,
“/—/":“m”,
“/–/”:“n”,
“——-//—”:“o”,
"/–——
":“p”,
"
–/
-":“q”,
"
–///-/":“r”,
"-/-///
/-":“s”,
“////——/":“t”,
“////-/-//-”:“u”,
"/
_-/-————”:“v”,
"//–—
//------":“w”,
“///———————————————”:"",
“/–————–//”:“y”,
"-
--//-/-”:“z”,
“|”:" ",}

def encode(m):
encoded = “”
for i in input:
encoded=encoded+z[i]+"|"
return encoded

def decode(m):
decoded = “”
for z in outtake:
decoded=decoded+cut_g[z]
return decoded

print(“Input the mode (Decode/Encode)”)
o=input()
if o==“encode”:
print(“Input the text you want to encode”)
input=input()
emcoded=encode(input)
print(emcoded)

if o==“decode”:
print(“Input the text you want to decode”)
outtake=input()
becoded=decode(outtake)
print(becoded)

You will probably get better answers if you tell us what your problem

is, instead of expecting us to guess.

By the way, you don’t need a separate print before calling input if you

want the prompt to be on a separate line. Just add a newline to the end

of the prompt:

>>> name = input("What is your name?\n")

What is your name?

Steve

>>> print("Your name is", name)

Your name is Steve

The \n is a newline.

Also, please place your code between two lines of triple-backticks, like this:

```py

--- code goes here ---

```

The pair of triple-backticks are to ensure the code’s formatting is respected, and the py bit in the first line activates syntax highlighting.