Replace Operator In Python