s = "Kilogramm"print(len(s)) print(s[:4]) print(s[4:8]) print(s[2]) print(s[3:6])
9
9 Kilo gram l ogr
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!