+ 1

What's the result of this code? print("{0}{1}{0}".format("abra", "cad"))

Its a topic on String Functions on PYTHON

9th Sep 2022, 11:03 AM
Henry Pebbles Tutorials
Henry Pebbles Tutorials - avatar
4 Answers
+ 9
You can find it out if you actually *run* the code: Go to Code section, click +, select Python, insert the code, click Run
9th Sep 2022, 11:44 AM
Lisa
Lisa - avatar
+ 4
If you need explanation of the code output, then write "Need explanation for the output of this code" don't ask the output. You can use the Playground to see the output ...
9th Sep 2022, 1:48 PM
Ipang
+ 2
abracadabra like
quot;{first_string}{second_string}{first_string}"
9th Sep 2022, 1:45 PM
Ionuț-Alexandru Sbaroi
Ionuț-Alexandru Sbaroi - avatar
+ 1
abracadabra
9th Sep 2022, 11:08 AM
Arpit Jain
Arpit Jain - avatar