Can you show me an example of its implementation in Python?