DEV Community

Discussion on: Morse code in Raspberry PI

Collapse
vlasales profile image
Vlastimil Pospichal

I prefer this form of dictionary:

letters = {
    "A" : ".-",
    "B" : "-...",
...
Enter fullscreen mode Exit fullscreen mode
Collapse
halcolo profile image
Halcolo Author • Edited on

Nice, that's better, I will implement this way to. Thank you!