Access Query Left Function Python Programming