Result Size: 625 x 571
demo_string_placeholder19.py:
x
 
#Use "o" to convert the number into octal format:
txt = "The octal version of {0} is {0:o}"
print(txt.format(10))
C:\Users\My Name>python demo_string_placeholder19.py
The octal version of 10 is 12