print("My name is %s and I am %d years old!" % ('Kumar', 20))

Here is the list of complete set of symbols which can be used along with %:

Format Symbol    Conversion

%c                         character

%s                         string conversion via str() prior to formatting

%i                          signed decimal integer

%d                         signed decimal integer

%u                         unsigned decimal integer

%o                         octal integer

%x                         hexadecimal integer (lowercase letters)

%X                        hexadecimal integer (UPPERcase letters)

%e                        hexadecimal integer (UPPERcase letters)

%E                        exponential notation (with UPPERcase 'E')

%f                         exponential notation (with UPPERcase 'E')

%g                        the shorter of %f and %e

%G                       the shorter of %f and %