Tagged: Functional Programming

Python – Count and learn

Here is a simple problem: Count how many times each character occurs in a string. And one more thing: Do this using Python. There are many different solutions to this and each shows us...

Alphabet on blackboard

Tips for writing better Python code

I was a very experienced programmer when I started using Python. So I wrote some very bad Python code. Each language has its own way of doing things. The more you learn the language,...