DEV Community

Cover image for Monthly Challenge #3: Morse Code 🆘
Sonny Li for Codédex

Posted on

6

Monthly Challenge #3: Morse Code 🆘

Morse Code

Morse code is a communication method to encode characters as dots (.) and dashes (-), developed in the 1830s.

January Challenge

Create a translate() Python function that takes in a message and converts it to morse code.

Post the code/output screenshot in the Twitter thread by Jan 14th for a chance to win a Codédex hoodie! 🎁

Top comments (1)

Collapse
 
sonnynomnom profile image
Sonny Li

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay