Strings And Text

1
2
x = "Ernest Hemingway published his novel The Old Man and the Sea in [---]." % 1952
print x

What do you use to replace [---] so that the output is:

1
Ernest Hemingway published his novel The Old Man and the Sea in 1952.

×

Problem Loading...

Note Loading...

Set Loading...