[🏆 Assignment🏆]Morse Code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 14

[🏆 Assignment🏆]Morse Code

Write a Code to Translate English into Morse Code or Vice-versa. What is Morse Code Morse code is a method of transmitting text information as a series of on-off tones, lights, or clicks that can be directly understood by a skilled listener or observer without special equipment. https://en.m.wikipedia.org/wiki/Morse_code INPUT I Am Platinum Badge Holder OUTPUT .. / .- -- / .--. .-.. .- - .. -. ..- -- / -... .- -.. --. . / .... --- .-.. -.. . .-.

9th Jan 2018, 1:44 PM
Vishal Pal❄️⚛️
Vishal Pal❄️⚛️ - avatar
15 Answers
9th Jan 2018, 4:06 PM
Oma Falk
Oma Falk - avatar
+ 16
Morse Code with C++..😀 You can check it: https://code.sololearn.com/cM06T8NwLCsl/?ref=app
10th Jan 2018, 2:32 AM
Mohammad Dakdouk
Mohammad Dakdouk - avatar
+ 9
@Sebastian I have to admit: I was lazy too. The dictionary was copy&paste. how about dict(zip(alphabet,morse) ) in your code? makes a dict and btw it is my latest discovery (-:
9th Jan 2018, 5:38 PM
Oma Falk
Oma Falk - avatar
+ 9
My humble try, it translates text to morse and visceversa.. * https://code.sololearn.com/c03DejT8pBgr/
10th Jan 2018, 6:33 AM
noobcøder
noobcøder - avatar
+ 6
https://code.sololearn.com/cb79oD4jiQl3/?ref=app
9th Jan 2018, 6:22 PM
abdulazizumarovich
abdulazizumarovich - avatar
+ 6
.-//...-/./.-./..--//-./../-.-././/----/..../.-/.-../.-.././-./--././
9th Jan 2018, 6:28 PM
Oma Falk
Oma Falk - avatar
+ 6
With some preparation one can do it with normal Python print() https://code.sololearn.com/cs4RxLihUg99
11th Jan 2018, 4:40 PM
Oma Falk
Oma Falk - avatar
27th Mar 2018, 12:12 PM
Vishal Pal❄️⚛️
Vishal Pal❄️⚛️ - avatar
+ 5
https://code.sololearn.com/cK6RaPD47jSt/?ref=app
9th Jan 2018, 5:30 PM
Sebastian Keßler
Sebastian Keßler - avatar
+ 4
Hi Oma. I thought about rewriting my code with a dictionary. But I was too lazy ;-)
9th Jan 2018, 5:34 PM
Sebastian Keßler
Sebastian Keßler - avatar
+ 4
I was too lazy to translate this, so I wrote a code: https://code.sololearn.com/cA0X7tgV4m3G/?ref=app
9th Jan 2018, 6:57 PM
Sebastian Keßler
Sebastian Keßler - avatar
9th Jan 2018, 7:48 PM
VcC
VcC - avatar
+ 4
Here is my Java Version of this challange: https://code.sololearn.com/c3xSzbdCyrvE
10th Jan 2018, 12:57 PM
Chris
+ 4
My morse code translator is working well, but not on Sololearn platform. :-( Anyway I like it... :-) https://code.sololearn.com/cSmBA0wqMVo1/#py
27th Mar 2018, 11:47 AM
Miso
Miso - avatar
22nd Feb 2018, 5:48 PM
Hamid
Hamid - avatar