Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = ".-"
- b = "-..."
- c = "-.-."
- d = "-.."
- e = "."
- f = "..-."
- g = "--."
- h = "...."
- i = ".."
- j = ".---"
- k = "-.-"
- l = ".-.."
- m = "--"
- n = "-."
- o = "---"
- p = ".--."
- q = "--.-"
- r = ".-."
- s = "..."
- t = "-"
- u = "..-"
- v = "...-"
- w = ".--"
- x = "-..-"
- y = "-.--"
- z = "--.."
- 1 = ".----"
- 2 = "..---"
- 3 = "...--"
- 4 = "....-"
- 5 = "....."
- 6 = "-...."
- 7 = "--..."
- 8 = "---.."
- 9 = "----."
- 0 = "-----"
- letters = [a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,1,2,3,4,5,6,7,8,9,]
- print "Morse Code Translator 0.1"
- print "What would you like to translate?"
Add Comment
Please, Sign In to add comment