How many additional str.format() parameters are expected if the format string parameter contains "Happy birthday {}, happy birthday to you"?

Select one:

a.
2

b.
1

c.
0

d.
3

3 answers

The answer is b. 1
What string value is stored in the answer variable after the following statement is run?
answer = str.format("{2} {1} {0}", "with","great","power")
Select one:

a.
power great with

b.
great power with

c.
with great power

d.
power power power
The correct answer is c. "with great power".