Python Program For String Operation In Javascript W3schools