Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. def decode_from_morse(code):
  2.     word = ''
  3.     for i in code.split():
  4.         for j in MorseCode:
  5.             if MorseCode[j] == i:
  6.                 word += j
  7.     return word
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement