+ 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 .. / .- -- / .--. .-.. .- - .. -. ..- -- / -... .- -.. --. . / .... --- .-.. -.. . .-.
15 Respuestas
+ 16
Morse Code with C++..😀
You can check it:
https://code.sololearn.com/cM06T8NwLCsl/?ref=app
+ 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 (-:
+ 9
My humble try, it translates text to morse and visceversa..
* https://code.sololearn.com/c03DejT8pBgr/
+ 6
https://code.sololearn.com/cb79oD4jiQl3/?ref=app
+ 6
.-//...-/./.-./..--//-./../-.-././/----/..../.-/.-../.-.././-./--././
+ 6
With some preparation one can do it with normal Python print()
https://code.sololearn.com/cs4RxLihUg99
+ 6
@miso post it here
https://www.sololearn.com/learn/4628/?ref=app
+ 5
https://code.sololearn.com/cK6RaPD47jSt/?ref=app
+ 4
Hi Oma. I thought about rewriting my code with a dictionary. But I was too lazy ;-)
+ 4
I was too lazy to translate this, so I wrote a code:
https://code.sololearn.com/cA0X7tgV4m3G/?ref=app
+ 4
oneliner based on omar's
https://code.sololearn.com/cJMV7FPXFQrN/?ref=app
+ 4
Here is my Java Version of this challange:
https://code.sololearn.com/c3xSzbdCyrvE
+ 4
My morse code translator is working well, but not on Sololearn platform. :-(
Anyway I like it... :-)
https://code.sololearn.com/cSmBA0wqMVo1/#py
+ 3
Here's my attempt:
https://code.sololearn.com/c8ss70f6OkHJ/?ref=app