0
Perforan x+y+"some strings".... vs "{}{}some strings".format(x,y.....)
what is the best and fast way to concatenate strings?
1 Answer
+ 5
Those are different operations, with the first one actually being a concatenation alright, while the second one is just formatting the display output.
Not that I know, but I would bet that formatting is quicker as no actual __add__ operation is done underneath.