text="hello|python|world"parts=text.split("|")result1=parts[0]+" "+parts[2]print(result1)
Standard input is empty
hello world
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!