Home

Published

- 1 min read

python morse code dictionary

img of python morse code dictionary

The solution for this is noted below

python morse code dictionary

Solution

   MORSE_CODE_DICT = {
    "A":"._",
    "N":"_.",
	"B":"_...",
    "O":"___",
 	"C":"_._.",
    "P":".__.",
 	"D":"_..",
    "Q":"__._",
 	"E":".",
    "R":"._.",
 	"F":".._.",
    "S":"...",
 	"G":"__.",
    "T":"_",
 	"H":"....",
    "U":".._",
 	"I":"..",
    "V":"..._",
 	"J":".___",
    "W":".__",
 	"K":"_._",
    "X":"_.._",
 	"L":"._..",
    "Y":"_.__",
 	"M":"__",
    "Z":"__..",
    "1":".____",
    "6":"_....",
 	"2":"..___",
    "7":"__...",
 	"3":"...__",
    "8":"___..",
 	"4":"...._",
    "9":"____.",
 	"5":".....",
    "0":"_____",
    " ":"/",
    "?":"..__..",
    ";":"_._._.",
 	":":"___...",
    "/":"_.._.",
 	"-":"_...._",
    "\'":".____.",
 	"\"":"._.._.",
    "(":"_.__.",
    ")":"_.__._",
 	"=":"_..._",
    "+":"._._.",
 	"*":"_.._",
    "@":".__._.",
    "Á":".__._",
    "Ä":"._._",
 	"É":".._..",
    "Ñ":"__.__",
 	"Ö":"___.",
    "Ü":"..__" }

Try other methods by searching on the site. That is if this doesn’t work