Javascript Array And String Problems In Python What Is One Function