Split Method In Array Javascript Push Function In Python