Morse Code and Dictionaries in Python (with Sound)

This is a full hands on article on how to implement Morse Code in Python complete with sound examples and code you can download and run locally.


How to Reorder Data in Log Files Using Python

Let’s say that you have an array or a list, or logs. Each of these logs is a space-delimited string of words. For example: logs = ["dig1 8 1 5 1","let1 art can","dig2 3 6","let2 own kit dig","let3 art zero"] The task is to reorder these logs and return th... (more…)

Read more »