Morse-single-def.py