s = "123456789"s1 = "abcdef"S = s[4:6] + s1[2:5]print(s)
Standard input is empty
123456789
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!