Javascript String Array Functions Python Code Runner