Create Set From Array Javascript Join Function In Python