Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Don't do micro-optimizations on places where it doesn't matter!
Lol.......
String concatenation is bad when you use it in long recursive functions or loops because, string being immutables, at each step of the concatenation you create 2 strings objects in the heap space (memory). But here, adding just 2 strings together, this is bullshit to say that this is not best practice...
Other ways to do the concatenation:
''.join(list of strings elements)
for unknown or long lists of strings"{}{}{}".format(a,b,c)
for short and known number of strings elementsCould you explain why is that?
String concatenation with + is never best practice in Python.