Playing around with Python to see how it works