Define Selection In Python Mean