Category Archives: Python

Decoding Morse Code With F# Comprehensions

In my last post I showed how to decode morse code in Python using list comprehensions. In this post I show how to do it in F# instead. First using list comprehensions: let codes = [(“A”,”.-”); (“B”,”-…”); (“C”,”-.-.”); (“D”,”-..”); (“E”,”.”); … Continue reading

Posted in Coding, F#, General, Python | 5 Comments

Morse Code Decoding With Python List Comprehensions

As a small exercise for getting up to speed with Python I decided to solve ruby quiz #121, which is to to write a function that finds all possible decodings of a string of Morse codes without letter- and word-separators. … Continue reading

Posted in Coding, General, Python | Leave a comment