Examples of priority in Python