Stringbuilder Empty Function Python Format