MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / main.py

File main.py

Encode_Morse.py/main.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1def encode_morse(message):
2 char_to_dots = {
3 'A': '.-', 'B': '-...', 'C': '-.-.', 'D': '-..', 'E': '.', 'F': '..-.',
4 'G': '--.', 'H': '....', 'I': '..', 'J': '.---', 'K': '-.-', 'L': '.-..',

Callers

nothing calls this directly

Calls 1

encode_morseFunction · 0.85

Tested by

no test coverage detected