Parentheses Problem In Python Example