print a str.format command is changed to a % method.