Visual Basic Pattern Matching In Python Mean