随时补充修改
摩斯密码翻译器_摩斯密码_摩尔斯电码_摩斯密码解密器 - 查询助手 (转英文、中文)
key = '11 111 010 000 0 1010 111 100 0 00 000 000 111 00 10 1 0 010 0 000 1 0010 110'
result = ''
for i in key:
if i == '1':
result += '-'
elif i == '0':
result += '.'
else:
result += ' '
print(result.lower())
-- --- .-. ... . -.-. --- -.. . .. ... ... --- .. -. - . .-. . ... - ..-. --.