Python function demonstration