+ 1
String Formatting
Question - print("{0}{1}{0}".format("abra", "cad")). Can anybody help me with this? What's the output?
3 Antworten
+ 2
Srujan Kulkarni How about revisiting the string format module in the SoloLearn Python Core course here?
+ 2
Srujan Kulkarni ,
▪︎you can get the output by just running the code
▪︎when posting a question, please also specify the programming language in a tag
=> invest some time in reading this tutorial and learn more about f-string:
https://realpython.com/JUMP_LINK__&&__python__&&__JUMP_LINK-f-strings/
0
Its correct