format_percent_style(name, score) that builds the string "<name> scored <score>%" using the legacy % formatting operator ("%s ... %d%%" % (...)), not an f-string or .format(). This operator still shows up in older codebases and logging templates.name = 'Aman', score = 87
'Aman scored 87%'
%s substitutes the name, %d substitutes the integer score, and %% escapes to a literal percent sign.
`"%s scored %d%%" % (name, score)` — the doubled `%%` produces one literal `%`.