b.
{0:^15f}
Which of the following placeholders in a str.format() format string would display a floating point value, centered in a 15-character wide field?
Select one:
a.
{15:^f}
b.
{0:^15f}
c.
{0:15d}
d.
15{0:f}
1 answer