Check String Array Javascript W3schools Compiler Python