`str.join` can accept generator as parameter also.