- 2

print("{0}{1}{0}".format("abra", "cad"))

This question won't work whenever I put the answer in the text box. Please tell me how to put the answer.

9th Jan 2019, 9:18 PM
Xavier Power
Xavier Power - avatar
5 Answers
+ 1
Try the code in the Playground and see for yourself.
9th Jan 2019, 9:30 PM
Diego
Diego - avatar
0
abracadabra
22nd Oct 2020, 2:55 PM
Stella
Stella - avatar
0
What is the result of this code? program : print("{0}{1}{0}".format("abra","card")) output : abracadabra
27th May 2021, 11:32 AM
Madhavareddy
Madhavareddy - avatar