The % operator after a string is used to combine a string with variables. The % operator will replace a %s in a string with the string variable that comes after it. %d special symbol is used to make digit replacement. Tell PyCharm how old are you.