Javascript String Array Functions Python Examples Using Functions