Tagged: counting

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...

Good, Better, Best? : FizzBuzz

The Zen of Python states: “There should be one — and preferably only one — obvious way to do it.” In real life it is not always that easy. There are usually many different...