Internal write

#!/usr/bin/env python
rate = 12
temp = "Rate: %d " % rate
print( temp)
#
# preparing a format string
#
fmtString = " %%-%ds, %%s, sim. %%s" % (lenMax)
print( fmtString % (a, b, c))