percent sign problem in python